[Spread-users] Re: Newbie: Initial queries

David Turland david.turland at shazamteam.com
Wed Mar 13 09:56:07 EST 2002


Hi again,
Thanks for your patience :-)
After getting into the Spread frame of mind I easily found the answer to my 
question:

nodes detect the disconnection;
nodes call:

SP_disconnect(...); (this may not be necesary)

ret = SP_connect_timeout(...);
while (ret!= ACCEPT_SESSION)
{
  E_delay(timeout);
  ret = SP_connect_timeout(...);
}



hopefully the master node or another arbitrary node (but fear race condition) 
restarts  the spread daemon.


cheers,

David T





More information about the Spread-users mailing list