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