FLUSH SPREAD

FL_disconnect

Section: User Manuals (3)
Updated: Dec 2000

NAME

FL_disconnect - destroy a Flush Spread connection between an application and a Spread daemon.

SYNOPSIS

#include <fl.h>

int FL_disconnect(mailbox mbox);

DESCRIPTION

FL_disconnect should be called when the application is finished with a connection to a Spread daemon. The application may have other connections still open to the daemon and may open a new connection after disconnecting. Any data that was available on the connection will be lost after the call returns.

The mbox should be for the connection you wish to close.

RETURN VALUES

Returns 0 on success or ILLEGAL_SESSION when the mbox given does not represent a valid connection.

AUTHOR

John Schultz <jschultz@cnds.jhu.edu>