Udp socket sample program. This program will send back the received packet.
Dependencies: NyFileSystems libMiMic mbed-rtos mbed
Revision 27:e06564324551, committed 2013-10-03
- Comitter:
- nyatla
- Date:
- Thu Oct 03 04:56:30 2013 +0000
- Parent:
- 26:897777a5ee04
- Child:
- 28:6d00cb43c5ff
- Commit message:
- disable zeroconf services
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- 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()"