Windows Sockets

Windows Sockets, or Winsock as it's commonly known, is Windows' implementation of BSD Sockets. As I mentioned earlier, BSD Sockets is an API that became the standard for Internet connectivity on UNIX systems in the 1980s. By providing API-level compatibility with Sockets, Windows makes porting UNIX network apps relatively easy. In addition to supporting functionality already present in BSD Sockets, Winsock also includes some Microsoft-specific enhancements. We'll talk about a few of these in just a moment.

Like BSD Sockets, Winsock supports both reliable (connection-oriented) communication and unreliable (connectionless) communication. These are known as stream and datagram connections, respectively. Winsock also supports scatter-gather ...

Get Guru's Guide to SQL Server Architecture and Internals, The now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.