Websocket Hello World over a wifi network
Dependencies: EthernetNetIf mbed DNSResolver
Revision 2:e7fba3d516b5, committed 2011-08-26
- Comitter:
- samux
- Date:
- Fri Aug 26 13:32:11 2011 +0000
- Parent:
- 1:e3321116d066
- Child:
- 3:a1ea35e2c7b3
- Commit message:
Changed in this revision
main.cpp | Show annotated file Show diff for this revision Revisions of this file |
--- a/main.cpp Fri Aug 26 13:25:22 2011 +0000 +++ b/main.cpp Fri Aug 26 13:32:11 2011 +0000 @@ -10,7 +10,7 @@ //Here, we create an instance, with pins 9 and 10 connecting to the //WiFly's TX and RX pins, and pin 21 to RESET. We are connecting to the //NETGEAR network, password bananna2, and we are using WPA. -Wifly wifly(p9, p10, p21, "mbed", "mbedapm2011", true); +Wifly wifly(p9, p10, p21, "mbed", "bananna2", true); //Here, we create a Websocket instance in 'w' (write) mode //on the 'samux' channel