PtConnectionClientSetUserData()

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

Synopsis:

void PtConnectionClientSetUserData(
        PtConnectionClient_t *connection,
        void *data );

Library:

ph

Description:

A connection object contains a user data pointer that's 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:

PtConnectionClientDestroy(), PtConnectionClientGetUserData(), PtConnectionClientSetError(), PtConnectionServerGetUserData(), PtConnectionServerSetUserData()

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