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