CAsyncSocket::CAsyncSocket

This constructor constructs a blank socket object. After constructing the object, you must call its Create method to create the SOCKET data structure and bind its address. On the server side of a Windows Sockets communication, when the listening socket creates a socket to use in the Accept call, do not call Create for that socket.

At a Glance

Header file: Afxsock.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later
Complete documentation: Visual C++ documentation

Syntax

CAsyncSocket( );

See Also

CAsyncSocket::Create