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: lwip-eth lwip-sys lwip
Fork of LWIPInterface by
Diff: LWIPInterface.cpp
- Revision:
- 3:774869068511
- Parent:
- 2:7fb7e78cb17f
- Child:
- 4:a7349bd7776c
--- a/LWIPInterface.cpp Thu Feb 25 11:09:49 2016 -0600 +++ b/LWIPInterface.cpp Mon Feb 29 22:58:45 2016 +0000 @@ -168,9 +168,9 @@ }; -SocketInterface *LWIPInterface::createSocket(socket_protocol_t proto) +SocketInterface *LWIPInterface::createSocket(ns_protocol_t proto) { - int type = (proto == SOCK_UDP) ? SOCK_DGRAM : SOCK_STREAM; + int type = (proto == NS_UDP) ? SOCK_DGRAM : SOCK_STREAM; int fd = lwip_socket(AF_INET, type, 0); if (fd < 0) {