Simple TCP Echo Server

Dependencies:   EthernetInterface mbed-rtos mbed

Dependents:   HTTPDcgi

Legacy Warning

This is an mbed 2 example. To learn more about mbed OS 5, visit the docs.

Files at this revision

API Documentation at this revision

Comitter:
mbed_official
Date:
Tue Feb 14 16:20:16 2017 +0000
Parent:
7:a5ead1402704
Commit message:
Update libraries

Changed in this revision

EthernetInterface.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
mbed.bld Show annotated file Show diff for this revision Revisions of this file
diff -r a5ead1402704 -r 23b1fba109b0 EthernetInterface.lib
--- a/EthernetInterface.lib	Mon May 04 22:47:02 2015 +0000
+++ b/EthernetInterface.lib	Tue Feb 14 16:20:16 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/EthernetInterface/#2fc406e2553f
+http://mbed.org/users/mbed_official/code/EthernetInterface/#183490eb1b4a
diff -r a5ead1402704 -r 23b1fba109b0 main.cpp
--- a/main.cpp	Mon May 04 22:47:02 2015 +0000
+++ b/main.cpp	Tue Feb 14 16:20:16 2017 +0000
@@ -1,8 +1,8 @@
 #include "mbed.h"
 #include "EthernetInterface.h"
-
+ 
 #define ECHO_SERVER_PORT   7
-
+ 
 int main (void) {
     EthernetInterface eth;
     eth.init(); //Use DHCP
@@ -48,3 +48,4 @@
         client.close();
     }
 }
+ 
\ No newline at end of file
diff -r a5ead1402704 -r 23b1fba109b0 mbed-rtos.lib
--- a/mbed-rtos.lib	Mon May 04 22:47:02 2015 +0000
+++ b/mbed-rtos.lib	Tue Feb 14 16:20:16 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed-rtos/#557d5b275f31
+http://mbed.org/users/mbed_official/code/mbed-rtos/#58563e6cba1e
diff -r a5ead1402704 -r 23b1fba109b0 mbed.bld
--- a/mbed.bld	Mon May 04 22:47:02 2015 +0000
+++ b/mbed.bld	Tue Feb 14 16:20:16 2017 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/mbed/builds/8ab26030e058
\ No newline at end of file
+http://mbed.org/users/mbed_official/code/mbed/builds/176b8275d35d
\ No newline at end of file