Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Diff: TCPSocket.h
- Revision:
- 33:2fd212f8da61
- Parent:
- 32:d28d8b508e7c
--- a/TCPSocket.h Tue Apr 19 18:26:21 2016 -0500 +++ b/TCPSocket.h Tue Apr 19 18:26:36 2016 -0500 @@ -18,7 +18,7 @@ #define TCPSOCKET_H #include "Socket.h" -#include "NetworkInterface.h" +#include "NetworkStack.h" /** TCP socket connection */ @@ -36,7 +36,7 @@ * * @param iface Network stack as target for socket */ - TCPSocket(NetworkInterface *iface); + TCPSocket(NetworkStack *iface); /** Opens a socket * @@ -46,7 +46,7 @@ * @param iface Network stack as target for socket * @return 0 on success, negative error code on failure */ - virtual int open(NetworkInterface *iface); + virtual int open(NetworkStack *iface); /** Connects TCP socket to a remote host *