SimpleSocket 1.0 examples
Dependencies: EthernetNetIf SimpleSocket 1.0 mbed
Diff: main.cpp
- Revision:
- 11:04c0acd7f510
- Parent:
- 10:62ce72ee3e91
- Child:
- 12:52170a866d4a
diff -r 62ce72ee3e91 -r 04c0acd7f510 main.cpp --- a/main.cpp Thu Aug 18 08:46:47 2011 +0000 +++ b/main.cpp Thu Aug 18 09:51:08 2011 +0000 @@ -14,8 +14,8 @@ if (ethErr) error("Error %d in setup.\n", ethErr); //echoserver(7777); - //echoclient("10.0.3.20", 7777, "Hello world\n"); - httpclient("http://www.senio.co.jp/index.html"); + echoclient("10.0.3.20", 7777, "Hello world\n"); + //httpclient("http://10.0.3.20:7777/index.html"); //simpleclient("10.0.3.20", 7); //stationclient("DigitalIn 9"); } \ No newline at end of file