DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH PRINT BOOK
 
Network services

Terminating a connection

After the REXEC server has given an indication of the remote process termination, the client is expected to acknowledge and, optionally, to request the return of any type-ahead characters sent to the server process but not consumed. This is done using the rx_ack_exit routine.

int	cnum;		/* connection number */

#define TABUFLEN 100

main() { char ta_buf[TABUFLEN]; /* type-ahead buffer */ int ta_len; /* number of type-ahead chars returned */ . . . ta_len = rx_ack_exit(cnum, ta_buf, TABUFLEN); }


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 27 April 2004