Revised to prevent DHCPClient::discover from hanging.

Fork of WIZ820ioInterface by ban4jp -

Revision:
5:fb15c35d1e28
Parent:
1:fb4494783863
--- a/Socket/UDPSocket.h	Thu Dec 20 15:08:58 2012 +0000
+++ b/Socket/UDPSocket.h	Tue Aug 27 12:50:11 2013 +0000
@@ -22,8 +22,6 @@
 #include "Endpoint.h"
 #include "Socket.h"
 
-#include <cstdint>
-
 /**
 UDP Socket
 */
@@ -63,13 +61,8 @@
     int receiveFrom(Endpoint &remote, char *buffer, int length);
     
 private:
-    bool confEndpoint(Endpoint & ep);
-    bool readEndpoint(Endpoint & ep);
-    bool endpoint_configured;
-    bool endpoint_read;
-    
+    void confEndpoint(Endpoint & ep);
+    void readEndpoint(Endpoint & ep, uint8_t info[]);
 };
 
-#include "def.h"
-
 #endif