UDP server example project for the NetworkAPI library
Dependencies: EthernetInterface NetworkAPI mbed-rtos mbed
Fork of TCP_Client_Example by
Diff: main.cpp
- Revision:
- 11:f4d618b8141f
- Parent:
- 9:4536224842d4
- Child:
- 12:f1bed576c7ac
--- a/main.cpp Wed Jul 18 18:44:02 2012 +0000 +++ b/main.cpp Thu Sep 27 09:32:23 2012 +0000 @@ -37,7 +37,7 @@ do { result = socket.read(buffer); - printf("Received %d bytes:\n\r%s\n\r", result, (char *)buffer.pointer()); + printf("Received %d bytes:\n\r%s\n\r", result, (char *)buffer.data()); } while(result > 0); socket.close();