PtConnectionServerGetUserData()

Get the server's user data pointer from a connection object

Synopsis:

void *PtConnectionServerGetUserData(
         PtConnectionServer_t *connection );

Library:

ph

Description:

A connection object contains a user data pointer that is passed to its message handlers. This function lets you retrieve that pointer.

Returns:

A void * pointer to the data.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtConnectionClientGetUserData(), PtConnectionClientSetUserData(), PtConnectionServerDestroy(), PtConnectionServerSetError(), PtConnectionServerSetUserData()

Connections in the Interprocess Communication chapter of the Photon Programmer's Guide