CAsyncSocket::OnConnect

This method is called by the framework to notify the socket that its connection attempt has completed, whether successfully or in error. Override this method if to do some special processing.

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

virtual void OnConnect( int nErrorCode );

See Also

CAsyncSocket::Connect, CAsyncSocket::OnAccept, CAsyncSocket::OnClose, CAsyncSocket::OnOutOfBandData, CAsyncSocket::OnReceive, CAsyncSocket::OnSend