#include <cogent.h>
int IP_TaskSendRaw(
IP_Task* receiver, char* outbuf, int lout, char* inbuf, int lin )
;
A task structure referring to the current task.
The task receiving the message.
The message data to send.
The number of bytes of data to send.
The buffer to receive the reply.
The maximum number of bytes in the reply.
This function transmits a number of bytes synchronously to the receiver, and waits for the receiver to reply. There is no limit to how long the receiver may delay prior to replying. The reply data will be written into inbuf, up to lin bytes. If the inbuf data area is not large enough to accommodate the entire reply, then the result is OS-dependent. This will change in future versions of this API.
Copyright © 1995-2010 by Cogent Real-Time Systems, Inc. All rights reserved.