IP_Receive

IP_Receive -- receives any message.

Syntax

int IP_Receive(IP_Task* myself, IP_Msg* rmsg, IP_MsgInfo* msginfo);

Arguments

myself

A task structure referring to the current process.

rmsg

A message structure to hold the received message.

msginfo

A structure to be filled with extra information.

Returns

The type of the received message.

Description

This function receives message of any form, and classifies them according to type. Relevant information about the sender is stored in the msginfo structure. A message can be one of the following types:

See Also

Receiving Messages and Events, IP_ReceiveNonblock

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