Destroy a connector
int PtConnectorDestroy( PtConnector_t *connector );
ph
This function destroys the given connector.
Destroying a connector doesn't affect existing connections. If a server is only capable of talking to one client, it's a good idea to destroy the connector as soon as the client has connected.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtConnectorCreate(), PtConnectorGetId()
“Connections” in the Interprocess Communication chapter of the Photon Programmer's Guide