Turns off listening for incoming calls.
X.25 Communications Library (libx25s.a)
int x25_deafen(listen_id) int listen_id;
The x25_deafen subroutine turns off listening for incoming calls. It stops routing the calls that the application was listening for using the specified the listen_id parameter.
listen_id | Contains the listen identifier returned from a previous x25_listen subroutine. |
If successful, the x25_deafen subroutine returns a value of 0. If an error occurs, the x25_deafen subroutine returns a value of -1 and sets the x25_errno global variable to one of the error codes shown below.
On failure, the x25_errno global variable is set to one of the following values:
Stop listening: example program svcrcv.
This subroutine is part of X.25 Application in Base Operating System (BOS) Extensions 2.
The x25_listen subroutine.
Processing Calls with the X.25 API in AIX Version 4.3 Communications Programming Concepts.