Based on Shigeki KOMATSU program
Dependencies: mbed EthernetNetIf
Diff: main.cpp
- Revision:
- 1:8c2bac2ae93d
- Parent:
- 0:92055da1fc21
- Child:
- 2:2d3631e15544
diff -r 92055da1fc21 -r 8c2bac2ae93d main.cpp --- a/main.cpp Tue May 03 20:08:27 2011 +0000 +++ b/main.cpp Tue May 03 20:09:45 2011 +0000 @@ -1,32 +1,7 @@ // TCP Echo server -// 2010/9/7 -/* - -(Execute Sample) -PC side: -telnet 192.168.0.25 12345 -Trying 192.168.0.25... -Connected to 192.168.0.25. -Escape character is '^]'. - -mbed side: -Setup OK -mbed IP Address is 192.168.0.25 -Binding.. -Listening... -Listening: TCP Socket Accepted -Listening: Incoming TCP connection from 192.168.0.7 -TCP Socket Readable -Received&Wrote:test text - -TCP Socket Writable - - -*/ - #include "mbed.h" #include "EthernetNetIf.h" #include "TCPSocket.h"