Create a connector
PtConnector_t *PtConnectorCreate( const char *name, PtConnectorCallbackFunc_t *cb, void *data );
typedef void PtConnectorCallbackFunc_t( PtConnector_t *, PtConnectionServer_t *, void * );
The callback is called each time a new server connection object is created as a response to a connection request from a client.
ph
This function creates a connector.
A pointer to a PtConnector_t structure that describes the connector.
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtConnectorDestroy(), PtConnectorGetId()
“Connections” in the Interprocess Communication chapter of the Photon Programmer's Guide