socket function winsock
The socket function creates a socket that is bound to a specific transport service provider.
SOCKET socket(
int af,
int type,
int protocol
);
Implementation
int socket(int af, int type, int protocol) => _socket(af, type, protocol);