Example Get requests using Ethernet

Dependencies:   EthernetInterface mbed-rtos mbed

Fork of TCPSocket_HelloWorld by mbed official

Revision:
16:0a1035af04b4
Parent:
15:7a9850866be9
Child:
17:46186f7da7eb
--- a/main.cpp	Mon Dec 07 21:19:43 2015 +0000
+++ b/main.cpp	Mon Dec 07 21:27:52 2015 +0000
@@ -32,6 +32,9 @@
     char http_cmd[300] = "GET /create_board?playerNum=1&gameNum=144&board=1111000000000000000000000000000000000000000000000000000000000000 HTTP/1.0\n\n";
     sock.send_all(http_cmd, sizeof(http_cmd)-1);
     
+    //Instead of printing here, do what you did before to convert the string, and just append buffer to a string (below the break),
+    //    replacing pc.printf
+    //Then we can do string find to snipe the values we want (have to do math to grab the right amount)
     char buffer[600];
     int ret;
     while (true) {