Windows Sockets Classes


The new home for Visual Studio documentation is Visual Studio 2017 Documentation on

The latest version of this topic can be found at Windows Sockets Classes.

Windows Sockets provide a network protocol-independent way to communicate between two computers. These sockets can be synchronous (your program waits until the communication is done) or asynchronous (your program continues running while the communication is going on).

Encapsulates the Windows Sockets API in a thin wrapper.

Higher level abstraction derived from CAsyncSocket. It operates synchronously.

Provides a CFile interface to a Windows Socket.

Class Overview