Simple TCP Echo Server
Dependencies: EthernetInterface mbed-rtos mbed
Fork of TCPEchoServer by
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
Mbed
