PtConnectionServerSetUserData()

Set the server's user data pointer in a connection object

Synopsis:

void PtConnectionServerSetUserData(
        PtConnectionServer_t *connection,
        void *data );

Library:

ph

Description:

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

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtConnectionClientGetUserData(), PtConnectionClientSetUserData(), PtConnectionServerDestroy(), PtConnectionServerGetUserData(), PtConnectionServerSetError()

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