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: NetworkInterface.h
- Revision:
- 57:3c873fab4207
- Parent:
- 55:7ff3586d7af4
- Child:
- 59:badee747a030
diff -r 19c9e332c0f1 -r 3c873fab4207 NetworkInterface.h
--- a/NetworkInterface.h Mon Feb 29 15:23:24 2016 +0000
+++ b/NetworkInterface.h Thu Feb 25 19:00:39 2016 -0600
@@ -115,10 +115,10 @@
friend class Socket;
/** Internally create a socket
- * @param proto The type of socket to open, SOCK_TCP or SOCK_UDP
+ * @param proto The type of socket to open, NS_TCP or NS_UDP
* @return The allocated socket
*/
- virtual SocketInterface *createSocket(socket_protocol_t proto) = 0;
+ virtual SocketInterface *createSocket(ns_protocol_t proto) = 0;
/** Internally destroy a socket
* @param socket An allocated SocketInterface
