Disables a transport endpoint.
Transport Layer Interface Library (libtli.a)
#include <tiuser.h>
int t_unbind(fd) int fd;
The t_unbind subroutine disables a transport endpoint, which was previously bound by the t_bind subroutine. On completion of this call, no further data or events destined for this transport endpoint are accepted by the transport provider.
fd | Specifies the transport endpoint. |
On successful completion, the t_unbind 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_bind subroutine.
List of Streams Programming References and STREAMS Overview in AIX Version 4.3 Communications Programming Concepts.