Example application that connect with a TCP web server.

Dependencies:   mbed mbed-rtos EthernetInterface NetworkAPI

Files at this revision

API Documentation at this revision

Comitter:
NegativeBlack
Date:
Thu Sep 27 09:32:23 2012 +0000
Parent:
10:b260ea0eb330
Child:
12:e12ac865cb23
Commit message:
Updated NetworkAPI library.

Changed in this revision

EthernetInterface.lib Show annotated file Show diff for this revision Revisions of this file
NetworkAPI.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
mbed-rtos.lib Show annotated file Show diff for this revision Revisions of this file
--- a/EthernetInterface.lib	Wed Jul 18 18:44:02 2012 +0000
+++ b/EthernetInterface.lib	Thu Sep 27 09:32:23 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/EthernetInterface/#0063a5bac04f
+http://mbed.org/users/mbed_official/code/EthernetInterface/#a0ee3ae75cfa
--- a/NetworkAPI.lib	Wed Jul 18 18:44:02 2012 +0000
+++ b/NetworkAPI.lib	Thu Sep 27 09:32:23 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/NegativeBlack/code/NetworkAPI/#847a0b218e22
+http://mbed.org/users/NegativeBlack/code/NetworkAPI/#cdee0f2b6ff0
--- a/main.cpp	Wed Jul 18 18:44:02 2012 +0000
+++ b/main.cpp	Thu Sep 27 09:32:23 2012 +0000
@@ -37,7 +37,7 @@
     do
     {
         result = socket.read(buffer);   
-        printf("Received %d bytes:\n\r%s\n\r", result, (char *)buffer.pointer());
+        printf("Received %d bytes:\n\r%s\n\r", result, (char *)buffer.data());
     } while(result > 0);
     
     socket.close();
--- a/mbed-rtos.lib	Wed Jul 18 18:44:02 2012 +0000
+++ b/mbed-rtos.lib	Thu Sep 27 09:32:23 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed-rtos/#01158bb7600c
+http://mbed.org/users/mbed_official/code/mbed-rtos/#9654a71f5a90