Wrapper of NetworkSocketAPI for BSD sockets on POSIX systems

Dependents:   BSDInterfaceTests HelloBSDInterface

Revision:
4:28479a7d15ad
Parent:
3:eabc4ea66a64
Child:
5:1af10f9d9404
--- a/BSDInterface.h	Sun Feb 28 10:54:31 2016 -0600
+++ b/BSDInterface.h	Thu Feb 25 19:04:44 2016 -0600
@@ -32,7 +32,7 @@
 
     virtual int32_t getHostByName(const char *host, char *ip);
 
-    virtual SocketInterface *createSocket(socket_protocol_t proto);
+    virtual SocketInterface *createSocket(ns_protocol_t proto);
     virtual void destroySocket(SocketInterface *socket);
 };