Simple HTTP server example with WIZ550io, W5500 (WIZnet chipset) .access the mbed via any browser, mbed echo back http request header.

Dependencies:   W5500Interface mbed

Fork of HTTPServer_echoback_WIZ550io by Bongjun Hur

Files at this revision

API Documentation at this revision

Comitter:
emilmont
Date:
Mon Jul 02 10:54:00 2012 +0000
Parent:
1:e2652bd064c6
Child:
3:46a2ada58e97
Commit message:
Remove debug directives avoiding to change the default settings of the serial port. Add print of the IP address assigned by DHCP.

Changed in this revision

EthernetInterface.lib Show annotated file Show diff for this revision Revisions of this file
main.cpp Show annotated file Show diff for this revision Revisions of this file
--- a/EthernetInterface.lib	Tue Jun 26 15:34:26 2012 +0000
+++ b/EthernetInterface.lib	Mon Jul 02 10:54:00 2012 +0000
@@ -1,1 +1,1 @@
-http://mbed.org/users/mbed_official/code/EthernetInterface/#c50597f8d7a2
+http://mbed.org/users/mbed_official/code/EthernetInterface/#73a6916d991e
--- a/main.cpp	Tue Jun 26 15:34:26 2012 +0000
+++ b/main.cpp	Mon Jul 02 10:54:00 2012 +0000
@@ -5,8 +5,8 @@
 {
     EthernetInterface eth;
     eth.init(); //Use DHCP
-
     eth.connect();
+    printf("IP Address is %s\n", eth.getIPAddress());
     
     TCPSocket sock;
     sock.connect("mbed.org", 80);