SimpleSocket 1.0 examples
Dependencies: EthernetNetIf SimpleSocket 1.0 mbed
Diff: main.cpp
- Revision:
- 21:a3cf1f055a4d
- Parent:
- 17:50c0e9c5ca79
- Child:
- 22:fc886208c19b
diff -r 3d798505d70e -r a3cf1f055a4d main.cpp --- a/main.cpp Fri Sep 09 06:05:07 2011 +0000 +++ b/main.cpp Fri Sep 09 09:49:45 2011 +0000 @@ -12,8 +12,8 @@ EthernetErr ethErr = eth.setup(); if (ethErr) error("Error %d in setup.\n", ethErr); - //echoserver(7777); + echoserver(7777); //echoclient("10.0.3.17", 7777, "Hello world\n"); //httpclient("http://www.senio.co.jp/index.html"); - relayserver(8888, "10.0.3.17", 1234); + //relayserver(8888, "10.0.3.17", 1234); } \ No newline at end of file