AmrRT

Dependents:   LPC1768_AppBoard_Internet_LCD_Clock

Fork of EthernetNetIf by Donatien Garnier

Revision:
1:ba68cceb2917
Parent:
0:422060928e37
Child:
3:0401477beaa3
diff -r 422060928e37 -r ba68cceb2917 LPC1768/if/lwip/lwipNetDnsRequest.h
--- a/LPC1768/if/lwip/lwipNetDnsRequest.h	Fri Jun 11 16:25:22 2010 +0000
+++ b/LPC1768/if/lwip/lwipNetDnsRequest.h	Fri Jun 18 09:20:27 2010 +0000
@@ -39,6 +39,8 @@
 
   //Execute request & return OK if found, NOTFOUND or ERROR on error, or PROCESSING if the request has not completed yet
   virtual void poll();
+  
+  virtual void close();
 
 protected:
   void foundCb(const char *name, ip_addr_t *ipaddr);
@@ -58,6 +60,10 @@
   
   //Static callbacks : Transforms into a C++ callback
   static void sFoundCb(const char *name, ip_addr_t *ipaddr, void *arg);
+  
+  static void dnsTick();
+  
+  bool m_closing;
 };
 
 #endif