Caution: This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs.

PtConnectionServerDestroy()

Destroy a server connection object

Synopsis:

void PtConnectionServerDestroy(
        PtConnectionServer_t *connection );

Library:

ph

Description:

This function destroys the server 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.

Classification:

Photon

Safety:
Interrupt handler No
Signal handler No
Thread No

See also:

PtConnectionClientDestroy(), PtConnectionServerGetUserData(), PtConnectionServerSetError(), PtConnectionServerSetUserData()

Connections in the Interprocess Communication chapter of the Photon Programmer's Guide