Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ X25DeleteListener(3X25) — DECnet WAN Support 3.0A

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

X25BindFilter(3X25)

X25ClearCall(3X25)

X25CreateListener(3X25)

X25Listen(3X25)

X25UnbindFilter(3X25)

X25DeleteListener(3X25)  —  Subroutines

Digital

NAME

X25DeleteListener − Disposes of an X.25 listener

LIBRARY

X.25 Library (libx25.a)

SYNOPSIS

#include <netx25/x25.h>
int X25DeleteListener(

int ld );

 

PARAMETERS

ldIdentifies the listener that is to be disposed of. 
 

DESCRIPTION

 
 
The X25DeleteListener routine deletes the listener descriptor from the process reference table.  This stops the listener matching against new incoming calls.  Any calls already matched but not taken are rematched against the remaining listeners.  Note that it is not necessary to disassociate filters from the listener before deleting it. 
 

RETURN VALUES

Upon successful completion, the X25DeleteListener routine returns a value of 0.  Otherwise, a (negative) error code is returned. 
 

ERRORS

 
If the X25DeleteListener routine fails, one of the following error codes is returned:

[X25RC_BADLD]
Invalid listener descriptor specified.

[X25RC_SYSERR]
An operating system error occurred.  The external variable errno is set to indicate the error. 
 

RELATED INFORMATION

Functions: X25BindFilter(3X25), X25ClearCall(3X25), X25CreateListener(3X25), X25Listen(3X25), X25UnbindFilter(3X25). 

X.25 for Digital UNIX − Programmer’s Reference Manual. 

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026