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.
Dependencies: DnsQuery
Dependents: WizFi310_TCP_Echo_Server_Example
Fork of NetworkSocketAPI by
Diff: SocketAddress.cpp
- Revision:
- 105:2fd212f8da61
- Parent:
- 100:90d8f662de83
- Child:
- 111:df01ca3e89b3
--- a/SocketAddress.cpp Tue Apr 19 18:26:21 2016 -0500
+++ b/SocketAddress.cpp Tue Apr 19 18:26:36 2016 -0500
@@ -15,7 +15,7 @@
*/
#include "SocketAddress.h"
-#include "NetworkInterface.h"
+#include "NetworkStack.h"
#include <string.h>
#include "mbed.h"
@@ -126,7 +126,7 @@
}
-SocketAddress::SocketAddress(NetworkInterface *iface, const char *host, uint16_t port)
+SocketAddress::SocketAddress(NetworkStack *iface, const char *host, uint16_t port)
{
// Check for valid IP addresses
if (host && ipv4_is_valid(host)) {
