Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtConnectorDestroy()
Destroy a connector
Synopsis:
int PtConnectorDestroy( PtConnector_t *connector );
Library:
ph
Description:
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.
Returns:
- 0
- Success.
- -1
- An error occurred; errno is set.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtConnectorCreate(), PtConnectorGetId()
"Connections" in the Interprocess Communication chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)