[ Previous | Next | Contents | Search ]
AIXLink/X.25 1.1 for AIX: Guide and Reference

x25_deafen Subroutine

Purpose

Turns off listening for incoming calls.

Library

X.25 Communications Library (libx25s.a)

C Syntax

int x25_deafen(listen_id)
int listen_id;

Description

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.

Parameters

listen_id Contains the listen identifier returned from a previous x25_listen subroutine.

Return Values

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.

Error Codes

On failure, the x25_errno global variable is set to one of the following values:

X25BADLISTENID

X25NOTINIT

X25SYSERR

X25TIMEOUT

Examples

Stop listening: example program svcrcv.

Implementation Specifics

This subroutine is part of X.25 Application in Base Operating System (BOS) Extensions 2.

Related Information

The x25_listen subroutine.

Processing Calls with the X.25 API in AIX Version 4.3 Communications Programming Concepts.


[ Previous | Next | Contents | Search ]