.
Dependencies: EthernetInterface mbed-rtos mbed
Fork of TCPEchoClient by
Diff: main.cpp
- Revision:
- 2:563aa530f0dd
- Parent:
- 1:a51d8ed156e6
- Child:
- 3:3fbf0efec25a
--- a/main.cpp Thu Jul 26 10:10:48 2012 +0000 +++ b/main.cpp Thu Jul 26 16:45:55 2012 +0000 @@ -21,7 +21,7 @@ char buf[256]; int n = sock.receive(buf, 256); - // buf[n] = '\0'; + buf[n] = '\0'; printf("%s", buf); sock.close();