Acknowledges receipt of an orderly release indication.
Transport Layer Interface Library (libtli.a)
#include <tiuser.h>
t_rcvrel(fd) int fd;
The t_rcvrel subroutine is used to acknowledge receipt of an orderly release indication. After receipt of this indication, the user may not attempt to receive more data because such an attempt will block forever. However, the user may continue to send data over the connection if the t_sndrel subroutine has not been issued by the user. The subroutine is an optional service of the transport provider, and is only supported if the transport provider returned service type T_COTS_ORD on the t_open or t_getinfo subroutine.
fd | Identifies the local transport end point where the connection exists. |
On successful completion, the t_rcvrel subroutine returns a value of 0. Otherwise, it returns a value of -1 and sets the t_errno variable to indicate the error.
If unsuccessful, the t_errno variable is set to one of the following:
This subroutine is part of Base Operating System (BOS) Runtime.
The t_getinfo subroutine, t_look subroutine, t_open subroutine, t_sndrel subroutine.
List of Streams Programming References and STREAMS Overview in AIX Version 4.3 Communications Programming Concepts.