This builds on TCPSocket_HelloWorld and others to read an in-coming buffer and then build and send a buffer. Very much work in progress
Dependencies: EthernetInterface mbed-rtos mbed
Fork of TCPSocket_HelloWorld by
Diff: main.cpp
- Revision:
- 2:e087e9b789e9
- Parent:
- 1:e2652bd064c6
- Child:
- 5:01f6c3e112af
--- a/main.cpp Tue Jun 26 15:34:26 2012 +0000 +++ b/main.cpp Mon Jul 02 10:54:00 2012 +0000 @@ -5,8 +5,8 @@ { EthernetInterface eth; eth.init(); //Use DHCP - eth.connect(); + printf("IP Address is %s\n", eth.getIPAddress()); TCPSocket sock; sock.connect("mbed.org", 80);