ap

Dependencies:   DnsQuery

Dependents:   WizFi310_TCP_Echo_Server_Example

Fork of NetworkSocketAPI by NetworkSocketAPI

Revision:
90:0a988e4abb72
Parent:
89:b1d417383c0d
Child:
92:dd5f19874adf
--- a/UDPSocket.cpp	Tue Apr 19 18:20:38 2016 -0500
+++ b/UDPSocket.cpp	Tue Apr 19 18:22:15 2016 -0500
@@ -17,9 +17,18 @@
 #include "UDPSocket.h"
 #include "Timer.h"
 
+UDPSocket::UDPSocket()
+{
+}
+
 UDPSocket::UDPSocket(NetworkInterface *iface)
-    : Socket(iface, NSAPI_UDP)
 {
+    open(iface);
+}
+
+int UDPSocket::open(NetworkInterface *iface)
+{
+    return Socket::open(iface, NSAPI_UDP);
 }
 
 int UDPSocket::bind(uint16_t port)