UDP Echo Client example
Dependencies: EthernetInterface mbed-rtos mbed
Fork of UDPEchoClient by
Diff: main.cpp
- Revision:
- 9:4f1a786624de
- Parent:
- 8:ae11db01fb2d
--- a/main.cpp Tue May 05 20:08:56 2015 +0000 +++ b/main.cpp Tue Feb 14 16:57:14 2017 +0000 @@ -1,9 +1,9 @@ #include "mbed.h" #include "EthernetInterface.h" - + const char* ECHO_SERVER_ADDRESS = "192.168.2.2"; const int ECHO_SERVER_PORT = 7; - + int main() { EthernetInterface eth; eth.init(); //Use DHCP