ap
Dependencies: DnsQuery
Dependents: WizFi310_TCP_Echo_Server_Example
Fork of NetworkSocketAPI by
Diff: TCPSocket.h
- Revision:
- 90:0a988e4abb72
- Parent:
- 89:b1d417383c0d
- Child:
- 92:dd5f19874adf
diff -r b1d417383c0d -r 0a988e4abb72 TCPSocket.h --- a/TCPSocket.h Tue Apr 19 18:20:38 2016 -0500 +++ b/TCPSocket.h Tue Apr 19 18:22:15 2016 -0500 @@ -26,8 +26,14 @@ public: /** TCP socket lifetime */ + TCPSocket(); TCPSocket(NetworkInterface *iface); virtual ~TCPSocket(); + + /** Open the socket + * @param iface Interface to open socket on + */ + virtual int open(NetworkInterface *iface); /** Connects this TCP socket to the server * @param host The host to connect to. It can either be an IP Address