Serves a webpage and saves the user entered data in a .txt file all on the MBED

Dependents:   HTTPServerCustom

Fork of EthernetNetIf by Donatien Garnier

Revision:
5:bc7df6da7589
Parent:
0:422060928e37
diff -r 9cec8b1dcf09 -r bc7df6da7589 LPC2368/if/net/netif.h
--- a/LPC2368/if/net/netif.h	Fri Jul 09 14:34:26 2010 +0000
+++ b/LPC2368/if/net/netif.h	Thu Aug 05 15:09:22 2010 +0000
@@ -24,10 +24,15 @@
 #ifndef NETIF_H
 #define NETIF_H
 
-#include "ipaddr.h"
+#include "core/ipaddr.h"
+/*
 #include "nettcpsocket.h"
 #include "netudpsocket.h"
 #include "netdnsrequest.h"
+*/
+class NetTcpSocket;
+class NetUdpSocket;
+class NetDnsRequest;
 
 #if 0
 enum NetifEvent
@@ -48,6 +53,8 @@
   virtual void poll() = 0;
   virtual NetDnsRequest* dnsRequest(const char* hostname) = 0; //Create a new NetDnsRequest object
   virtual NetDnsRequest* dnsRequest(Host* pHost) = 0; //Create a new NetDnsRequest object
+  
+  //!Returns the IP of the interface once it's connected
   IpAddr getIp() const;
   
 protected: