qnx_vc_attach

qnx_vc_attach --  establishes a virtual circuit between two processes on two computers.

Syntax

qnx_vc_attach (node, taskid, max_msg_length, flags)

		

Arguments

node

The node to which to attach.

taskid

The task id to which to attach.

max_msg_length

The maximum message size which will be passed between tasks.

flags

Virtual circuit flags.

Returns

A task id of a virtual circuit, or -1 on error, with errno set.

Description

This function establishes a network link between two processes on two computers. Once this link is established the two processes can communicate using the IPC function qnx_send/qnx_receive/qnx_reply.

Legal virtual circuit flags that can be OR-ed together are:

Possible values for errno are:

Example

Examples of this function are beyond the scope of this documentation.

See Also

qnx_vc_name_attach, qnx_send, send, send_async

Copyright 1995-2002 by Cogent Real-Time Systems, Inc.