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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.