Sending Messages

Cogent API and Utilities: Version 4.1
Prev | Chapter 3. Interprocess Communication | Next

# 3.10. Sending Messages

A task may send messages either synchronously or asynchronously. With a synchronous message, the sender must block waiting for the receiver to reply. There is no time limit on how long the sender may block. With an asynchronous message, the sender transmits the message to a queue, and immediately returns without blocking. The receiver is notified that a message is waiting, and gets it at some later time through a call to `IP_Receive`.

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

- `IP_TaskSendSync` - transmits a message, and waits for a reply.

- `IP_TaskSendAsync` - transmits a message via qserve and returns immediately.

- `IP_TaskSendRaw` - sends data in bytes, synchronously.

Prev | Home | Next
Replying to Messages | Up | Task Structures

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