ECE 4180 / Mbed 2 deprecated 4180-L2-P4

Dependencies:   mbed mbed-rtos EthernetInterface

Files at this revision

API Documentation at this revision

Comitter:
glanier9
Date:
Thu Feb 11 16:03:58 2021 +0000
Parent:
14:72be2b8b7f24
Commit message:
Final Version

Changed in this revision

main.cpp Show annotated file Show diff for this revision Revisions of this file
diff -r 72be2b8b7f24 -r d0f02d4f74b4 main.cpp
--- a/main.cpp	Wed May 14 15:07:26 2014 +0000
+++ b/main.cpp	Thu Feb 11 16:03:58 2021 +0000
@@ -8,9 +8,9 @@
     printf("IP Address is %s\n", eth.getIPAddress());
     
     TCPSocketConnection sock;
-    sock.connect("mbed.org", 80);
+    sock.connect("hamblen.ece.gatech.edu", 80);
     
-    char http_cmd[] = "GET /media/uploads/mbed_official/hello.txt HTTP/1.0\n\n";
+    char http_cmd[] = "GET /hello.txt HTTP/1.1\n\n";
     sock.send_all(http_cmd, sizeof(http_cmd)-1);
     
     char buffer[300];