Spread 3.17.3 C API

SP_disconnect
 
int SP_disconnect (mailbox mbox);


Parameters
  mbox Spread connection handle to disconnect


Return Values
  0 Success
  ILLEGAL_SESSION Session mbox given is not a valid connection


Description
 

SP_disconnect should be called when the application is finished with a connection to the Spread daemon. The application may have other connections still open to the daemon and may open a new connection after disconnecting.



Requirements
  Header: Include sp.h
Library: Use libspread or libtspread
Version: 3.17.3


Also See
  SP_connect