_IAPIEvents::onConnectionRequest

method onConnectionRequest. (server side only)

A TCP/IP server is notified by this callback when an incoming connection occurs.

At this place, it can accept or not the connection.

 

long onConnectionRequest(
  long hSocketClientObjectProxy
);

Parameters

hSocketClientObjectProxy

[in] .   Handle of proxy socket object

Return Values

0        Reject TCP/IP connection request.

1        Accept TCP/IP connection request, generally by calling

           AddSocketClientObjectEventHandlers( )

 

See Also

_IAPIEvents