Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: mbed mbed-rtos EthernetInterface
Revision 15:d0f02d4f74b4, committed 2021-02-11
- 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];