IAPI::AddSocketClientObjectEventHandlers

property AddSocketClientObjectEventHandlers. ( Server side only )

Accepts an incoming connection and installs communication channel with a remote client.

To be used from within onConnectionRequest() callback function.
(Since v2.34.1, its usage is optional, returning 1 is enough)

 

HRESULT AddSocketClientObjectEventHandlers(
  long hSocketClientObjectProxy,
  long *pVal
);

Parameters

hSocketClientObjectProxy

[in] .   Handle of socket object issued by the server.

pVal

[out, retval] The returned value is always 1.

Return Values

S_OK

The operation was successfull.

E_POINTER

A NULL pointer was supplied as an argument.

E_UNEXPECTED

An unexpected error occoured.

See Also

IAPI