Get the server's user data pointer from a connection object
void *PtConnectionServerGetUserData( PtConnectionServer_t *connection );
ph
A connection object contains a user data pointer that is 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 |
PtConnectionClientGetUserData(), PtConnectionClientSetUserData(), PtConnectionServerDestroy(), PtConnectionServerSetError(), PtConnectionServerSetUserData()
“Connections” in the Interprocess Communication chapter of the Photon Programmer's Guide