IP_TaskConnect

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_TaskConnect`

`IP_TaskConnect` -- opens a connection to a receiver.

## Syntax

``int IP_TaskConnect`(IP_Task* receiver);`

## Arguments

`receiver`

  A task to which a connection should be made.

## Returns

`0` on success, or `-1` on failure and `errno` is set.

## Description

This function opens a connection between the current task and the receiver. This connection remains open until the receiver task structure is destroyed. It is not normally necessary to call this function, as the `IP_TaskSend*` functions do this on your behalf.

## See Also

Sending Messages, `IP_TaskSendSync`, `IP_TaskSendAsync`, `IP_TaskSendRaw`

Prev | Home | Next
`IP_TaskCloseSync` | Up | `IP_TaskCopy`

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