Destroy a client connection object
void PtConnectionClientDestroy( PtConnectionClient_t *connection );
This function destroys the client 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.
PtConnectionClientGetUserData(), PtConnectionClientSetError(), PtConnectionClientSetUserData(), PtConnectionServerDestroy()
“Connections” in the Interprocess Communication chapter of the Photon Programmer's Guide