IP_MsgInfoReplyRaw

Cogent API and Utilities: Version 4.1
Prev |  | Next

# `IP_MsgInfoReplyRaw`

`IP_MsgInfoReplyRaw` -- replies to an `IP_RAW` message using `IP_MsgInfo`.

## Syntax

``int IP_MsgInfoReplyRaw`(IP_MsgInfo* orig, char* msg, int len);`

## Arguments

`orig`

  The original msginfo as filled by `IP_Receive`.

`msg`

  The message buffer to be transmitted.

`len`

  The length of the message buffer.

## Returns

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

## Description

This function replies to a previously received `IP_RAW` message by using the information in the `IP_MsgInfo` structure filled by `IP_Receive`. `len` bytes of `msg` are transmitted as the reply message.

## See Also

Replying to Messages, `IP_ReplyRaw`

Prev | Home | Next
`IP_MsgInfoReply` | Up | `IP_MsgLisp`

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