CCeSocket::OnAccept

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

Syntax

virtual void OnAccept( int nErrorCode );

At a Glance

Header file: Wcesock.h
Platforms:
Versions: 2.0 and later

Parameters

nErrorCode
The most recent error on a socket. Zero indicates the function executed successfully. WSAENETDOWN indicates the network subsystem failed.

Return Values

This function has no return value.

Remarks

This function calls CSocket::OnAccept by default.

See Also

CCeSocket Overview, CCeSocket Member Functions, Windows Sockets Classes, CCeSocket::OnConnect, CSocket::OnAccept