NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   HelloWizFi250Interface

Fork of NetworkSocketAPI by NetworkSocketAPI

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