Acknowledges receipt of an orderly release indication.
Transport Layer Interface Library (libtli.a)
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:
|TBADF||The specified file descriptor does not refer to a transport end point.|
|TLOOK||An asynchronous event has occurred on this transport end point and requires immediate attention.|
|TNOREL||No orderly release indication currently exists on the specified transport end point.|
|TNOTSUPPORT||This subroutine is not supported by the underlying transport provider.|
|TOUTSTATE||This subroutine was issued in the wrong sequence.|
|TSYSERR||A system error has occurred during execution of this function.|
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.