Udp socket sample program. This program will send back the received packet.

Dependencies:   NyFileSystems libMiMic mbed-rtos mbed

Revision:
27:e06564324551
Parent:
26:897777a5ee04
Child:
29:821fd574d883
--- a/main.cpp	Thu Oct 03 02:38:29 2013 +0000
+++ b/main.cpp	Thu Oct 03 04:56:30 2013 +0000
@@ -30,7 +30,8 @@
     cfg.setIpAddr(192,168,128,39);
     cfg.setNetMask(255,255,255,0);
     cfg.setGateway(192,168,128,254);    
-
+    cfg.setSrvUPnP(false);
+    cfg.setSrvMdns(false);
 
     // Create tcp socket with 512 bytes RX buffer.(This size same as maximum size of receiveable UDP packet)
     // Socket must create between "net.start" with "new Net()"