Middleware, development tools, realtime operating system
software and services for superior embedded design


Home
QNX Community Resources
QNX Documentation Library
PtConnectorDestroy

PtConnectorDestroy

QNX Software Systems
Developer Resources
Blogs
Board support packages
Foundry27 projects
Forums
Hardware support listing
Online video tutorials
Product documentation
Technical Articles

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