sni_close(3) CLIX sni_close(3)
NAME
sni_close - Closes a connection
LIBRARY
INC Library (libinc.a)
SYNOPSIS
char *sni_close(
long *sd );
PARAMETERS
sd A pointer to a long integer representing a network connection
DESCRIPTION
The sni_close() disconnects and carries out various housekeeping functions
to clean up the requester/server connection. Both the server and
requester must call sni_close() to end a connection.
The sd parameter points to the long obtained with sni_accept() or
sni_connect(). The long specifies a unique identifier assigned to a
connection, called a Simple Network Interface (SNI)descriptor. Upon
successful completion, sd points to 0.
RETURN VALUES
Upon successful completion, a null pointer is returned. Otherwise, a
pointer to an error message is returned.
RELATED INFORMATION
Functions: sni_accept(), sni_connect(3)
2/94 - Intergraph Corporation 1