w2_32.dll’s method for creating Sockets.

Syntax

SOCKET WSAAPI socket(
  [in] int af,
  [in] int type,
  [in] int protocol
);