Added RAW sockets.

Fork of WIZnetInterface by WIZnet

Revision:
15:24a9f2df2145
Parent:
0:6f28332c466f
--- a/Socket/DHCPClient.cpp	Wed Jun 17 00:24:45 2015 +0000
+++ b/Socket/DHCPClient.cpp	Mon Jun 22 09:11:47 2015 +0000
@@ -110,8 +110,8 @@
 
 void DHCPClient::callback()
 {
-    //Endpoint host;
-    int recv_len = m_udp->receiveFrom(m_server, (char*)m_buf, sizeof(m_buf));
+    Endpoint host;
+    int recv_len = m_udp->receiveFrom(host, (char*)m_buf, sizeof(m_buf));
     if (recv_len < 0) {
         return;
     }