Creates a socket.
Declared in <folly/net/NetOps.h>
<folly/net/NetOps.h>
NetworkSocket socket( int af, int type, int protocol);
The new socket, or an invalid socket on error.