Simple TCP Echo Server
Dependencies: EthernetInterface mbed-rtos mbed
Legacy Warning
This is an mbed 2 example. To learn more about mbed OS 5, visit the docs.
Diff: main.cpp
- Revision:
- 8:23b1fba109b0
- Parent:
- 7:a5ead1402704
--- 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