GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  SP_DISCONNECT (3)

NAME

SP_disconnect - destroy connection between app and daemon

CONTENTS

Synopsis
Description
Bugs
Author

SYNOPSIS

#include <sp.h>
int SP_disconnect( mailbox mbox);

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.

If any SP_ function returns a CONNECTION_CLOSED or NET_ERRROR_ON_SESSION error on any call, then the mailbox cannot be used anymore until it is disconnected with a call to this function and then reconnected by calling SP_connect(). Any other SP_ calls will only immediately return the same error value.

The mbox should be for the connection you wish to disconnect from.

RETURN VALUES

Returns 0 on success or ILLEGAL_SESSION when the session mbox given is not a valid connection.

BUGS

None.

AUTHOR

Yair Amir <yairamir@cnds.jhu.edu>
Jonathan Stanton <jonathan@cnds.jhu.edu>

SEE ALSO

libspread(3)

Search for    or go to Top of page |  Section 3 |  Main Index


SPREAD SP_DISCONNECT (3) JULY 1998

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.