Destroy a server connection object
void PtConnectionServerDestroy( PtConnectionServer_t *connection );
ph
This function destroys the server connection object. Attempting to send any messages or notifications to a partner whose connection object has been destroyed isn't safe; preventing such attempts is the responsibility of a higher level protocol.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtConnectionClientDestroy(), PtConnectionServerGetUserData(), PtConnectionServerSetError(), PtConnectionServerSetUserData()
“Connections” in the Interprocess Communication chapter of the Photon Programmer's Guide