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_JOIN (3)

NAME

SP_join - create connection between app and daemon

CONTENTS

Synopsis
Description
Bugs
Author

SYNOPSIS

#include <sp.h>
int SP_join( mailbox mbox, const char *group);

DESCRIPTION

SP_join joins a group with the name passed as the string group. If the group does not exist amoung the Spread daemons it is created, otherwise the Join joins the existing group. The mbox of the connection upon which to join a group is the first parameter.</P> The group
string represents the name of the group to join.

RETURN VALUES

Returns 0 on success or one of the following errors ( < 0 ):
ILLEGAL_GROUP
  The group given to join was illegal for some reason. Usually because it was of length 0 or length > MAX_GROUP_NAME
ILLEGAL_SESSION
  The session specified by mbox is illegal. Usually because it is not active.
CONNECTION_CLOSED
  During communication errors occured and the join could not be initiated.

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_JOIN (3) JULY 1998

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