NetworkSocketAPI

Dependencies:   DnsQuery

Dependents:   HelloWizFi250Interface

Fork of NetworkSocketAPI by NetworkSocketAPI

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