Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptconnectionreply.html on line 1
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptconnectionreply.html on line 1
Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptconnectionreply.html on line 8
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptconnectionreply.html on line 8
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].
- 0
- Success.
- -1
- An error occurred; errno is set.
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
Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/photon/lib_ref/pt/ptconnectionreply.html on line 120
Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/photon/lib_ref/pt/ptconnectionreply.html on line 120