Operating systems, development tools, and professional services
for connected embedded systems
for connected embedded systems
![]() |
![]() |
![]() |
![]() |
PtConnectionReply(), PtConnectionReplymx()
Reply to a message from a client
Synopsis:
int PtConnectionReply(
PtConnectionServer_t *connection,
int len,
void const *buf );
int PtConnectionReplymx(
PtConnectionServer_t *connection,
int rparts,
iov_t *riov );
Library:
ph
Description:
The server in a connection uses these functions to reply to a message sent by a client with a call to PtConnectionSend() or PtConnectionSendmx().
Under QNX 4, the iov_t type is a synonym for struct _mxfer_entry. The riov[0] entry is reserved for headers used internally by the library; the "real" reply buffer are defined by the contents of riov[1] through riov[rparts-1].
Returns:
- 0
- Success.
- -1
- An error occurred; errno is set.
Classification:
Photon
| Safety: | |
|---|---|
| Interrupt handler | No |
| Signal handler | No |
| Thread | No |
See also:
PtConnectionFlush(), PtConnectionNotify(), PtConnectionSend(), PtConnectionSendmx()
"Connections" in the Interprocess Communication chapter of the Photon Programmer's Guide
![]() |
![]() |
![]() |
![]() |

![[Previous]](../prev.gif)
![[Contents]](../contents.gif)
![[Index]](../keyword_index.gif)
![[Next]](../next.gif)