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); }


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 02 June 2005