ap

Dependencies:   DnsQuery

Dependents:   WizFi310_TCP_Echo_Server_Example

Fork of NetworkSocketAPI by NetworkSocketAPI

Branch:
api-changes
Revision:
43:09ea32f2eb54
Parent:
28:163fbe3263f4
Child:
57:3c873fab4207
--- a/UDPSocket.h	Tue Feb 23 05:07:02 2016 -0600
+++ b/UDPSocket.h	Wed Feb 24 22:04:19 2016 -0600
@@ -32,7 +32,10 @@
      *  @param ip Optional URL to connect to, copied internally
      *  @param port Optional port to connect to
      */
-    UDPSocket(NetworkInterface *iface);
+    UDPSocket(NetworkInterface *iface)
+        : Socket(iface, SOCK_UDP)
+    {
+    }
 };
 
 #endif