Reply to a message from a client
int PtConnectionReply( PtConnectionServer_t *connection, int len, void const *buf ); int PtConnectionReplymx( PtConnectionServer_t *connection, int rparts, iov_t *riov );
ph
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].
Photon
Safety: | |
---|---|
Interrupt handler | No |
Signal handler | No |
Thread | No |
PtConnectionFlush(), PtConnectionNotify(), PtConnectionSend(), PtConnectionSendmx()
“Connections” in the Interprocess Communication chapter of the Photon Programmer's Guide