int SP_join( mailbox mbox, const char *group);
DESCRIPTIONSP_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 VALUESReturns 0 on success or one of the following errors ( < 0 ):
- The group given to join was illegal for some reason. Usually because it was of length 0 or length > MAX_GROUP_NAME
- The session specified by mbox is illegal. Usually because it is not active.
- During communication errors occured and the join could not be initiated.