Winsock
Winsock, short for Windows Sockets, is the Windows API that enables software running on Microsoft Windows to access network services using the Berkeley sockets interface. It provides a standard set of socket-level functions for creating, configuring, and using both stream-oriented (TCP) and datagram (UDP) sockets, as well as facilities for address and name resolution and asynchronous I/O. The API is exposed to applications through the Ws2_32.dll library and sits between user-mode software and the Windows networking stack.
History and scope: Winsock originated in the early 1990s as Winsock 1.x and was followed by Winsock
Programming model: Applications initialize the API with WSAStartup to request a version, then create sockets with
Portability and usage: Winsock abstracts Windows networking and supports both IPv4 and IPv6. Applications link against