(Page 10 of 16 in this chapter)


ppxOpenConnection

Description

Opens an existing named connection.

Prototype

DWORD ppxOpenConnection ( CTAHD ctahd,
char *name,
PPX_HANDLE_PARMS *parms,
PPXHD *ppxhd )

ctahd CTA context handle returned by ctaCreateContext.

name Pointer to the name of the connection.

parms Pointer to a PPX_HANDLE_PARMS structure. The structure is defined as follows:


typedef struct
{
 DWORD size;   
 BYTE default_pattern;
 DWORD reserved;     
} PPX_HANDLE_PARMS

ppxhd Pointer to connection handle.

Return Values

Events

Details

This function opens a named connection and returns a handle to the connection. The name of the connection was specified when creating the connection with ppxCreateConnection.

Any application may open a handle to a named connection and set a talker or add or remove listeners. Any action taken in one application affects the connection which will be apparent in every application which accesses that connection.

A named connection is destroyed by calling ppxDestroyNamedConnection.

See Also

ppxCloseConnection, ppxCreateConnection, ppxDestroyNamedConnection



(Page 10 of 16 in this chapter)


tech_support@nmss.com
Copyright © 1999, Natural MicroSystems, Inc. All rights reserved.