UDP Echo Client example

Dependencies:   EthernetInterface mbed-rtos mbed

Deprecated

This is an mbed 2 networking example. For mbed OS 5, the networking libraries have been revised to better support additional network stacks and thread safety here.

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