|
|
HP-UX Reference > Tt_rcvrel(3)HP-UX 11i Version 2: December 2007 Update |
|
NAMEt_rcvrel() — acknowledge receipt of an orderly release indication at a transport endpoint SYNOPSIS#include <xti.h> /* for X/OPEN Transport Interface - XTI */ /* or */ #include <tiuser.h> /* for Transport Layer Interface - TLI */ int t_rcvrel (fd); int fd; DESCRIPTIONThe t_rcvrel() function is used in connection-oriented mode to acknowledge receipt of an orderly release indication at a transport endpoint. The released endpoint is specified by fd, which is a file descriptor previously returned by the t_open() function. After receipt of this orderly release indication at the transport endpoint specified by fd, the transport user should not try to receive additional data from that transport endpoint. Any attempt to receive more data from a released transport endpoint blocks continuously. However, the transport user may continue to send data across the connection until a release is sent by the transport user by invoking the t_sndrel() function call. The t_rcvrel() function should not be used unless the servtype type-of-service returned by the t_open() or t_getinfo() functions is T_COTS_ORD (supports connection-mode service with the optional orderly release facility). RETURN VALUEUpon successful completion, a value of 0 is returned. Otherwise, a value of -1 is returned and t_errno is set to indicate the error. ERRORSOn failure, t_errno is set to one of the following:
|
|