Set the client's user data pointer in a connection object
void PtConnectionClientSetUserData( PtConnectionClient_t *connection, void *data );
ph
A connection object contains a user data pointer that's passed to its message handlers. This function lets you set that pointer.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtConnectionClientDestroy(), PtConnectionClientGetUserData(), PtConnectionClientSetError(), PtConnectionServerGetUserData(), PtConnectionServerSetUserData()
“Connections” in the Interprocess Communication chapter of the Photon Programmer's Guide