CCeSocket::OnAccept

This method is called by the framework to notify a listening socket that it can accept pending connection requests. Override this method to do some special processing.

At a Glance

Header file: Wcesock.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 2.0 and later

Syntax

virtual void OnAccept( int nErrorCode );

Parameters

nErrorCode
Most recent error on a socket. Zero indicates that the method executed successfully. WSAENETDOWN indicates that the network subsystem failed.

Return Values

None.

Remarks

This method calls CSocket::OnAccept by default.

See Also

CCeSocket::OnConnect, CSocket::OnAccept