IP_MsgInfoReply

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_MsgInfoReply`

`IP_MsgInfoReply` -- replies to an `IP_SYNC` message using `IP_MsgInfo`.

## Syntax

``int IP_MsgInfoReply`(IP_MsgInfo* orig, IP_Msg* rmsg);`

## Arguments

`orig`

  The original `msginfo` as filled by `IP_Receive`.

`rmsg`

  The reply message.

## Returns

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

## Description

This function replies to a previously received `IP_SYNC` message by using the information in the `IP_MsgInfo` structure filled by `IP_Receive`. The `rmsg` contains the information to be transmitted as the reply.

## See Also

Replying to Messages, `IP_Reply`

Prev | Home | Next
`IP_MsgDestroy` | Up | `IP_MsgInfoReplyRaw`

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