SimpleSocket 1.0 examples
Dependencies: EthernetNetIf SimpleSocket 1.0 mbed
Diff: main.cpp
- Revision:
- 12:52170a866d4a
- Parent:
- 11:04c0acd7f510
- Child:
- 13:1adb19edf716
diff -r 04c0acd7f510 -r 52170a866d4a main.cpp --- a/main.cpp Thu Aug 18 09:51:08 2011 +0000 +++ b/main.cpp Fri Aug 19 02:17:01 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://10.0.3.20:7777/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