IAPI::GetSocketConnectedClientName

property GetSocketConnectedClientName. ( Server side only )

Retrieves the identity of a connected client in a string formated as “<IP:Port><Duration of connection>

 

HRESULT GetSocketConnectedClientName(
  long hSocketClientObjectProxy,
  BSTR *pVal
);

Parameters

hSocketClientObjectProxy

[in] .   Handle of socket object

pVal

[out, retval] The returned value is the identity of a connected client.

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