<DIV>I wrote a spread client, and I have a problem to reconnect after a crash. The first thing I tried is to kill the client&nbsp;(in an ugly Ctr-C)&nbsp;and than rerun it. I got the following spread log:</DIV>
<DIV>...</DIV>
<DIV>Set Alarm mask to: 186<BR>[09:04:49] Setting SO_REUSEADDR to always off<BR>[09:04:49] Set runtime directory to '/var/run/spread'<BR>[09:04:49] Set user name to 'root'<BR>[09:04:49] Set group name to 'root'<BR>[09:04:49] Finished configuration file.<BR>[09:04:49] Conf_init: My name: nautilus, id: 10.10.0.153, port: 4803<BR>[09:04:49] Sess_init: INET bind for port 4803 interface 0.0.0.0 ok<BR>[09:04:49] Sess_init: INET went ok on mailbox 6<BR>[09:04:49] Sess_init: UNIX bind for name /tmp/4803 ok<BR>[09:04:49] Sess_init: UNIX went ok on mailbox 7<BR>[09:04:49] Sess_init: ended ok<BR>[09:04:53] Sess_accept: set sndbuf/rcvbuf to 204800<BR>[09:04:53] Sess_recv_client_auth: Client requested NULL type authentication<BR>[09:04:53] Sess_session_authorized: Accepting from 0.0.0.0 with private name MyName on mailbox 9<BR>[09:04:58] Sess_read: failed receiving header on session 9: ret 0: error: Inappropriate ioctl for device<BR>[09:04:58] Sess_kill: killing session MyName ( mailbox 9
 )<BR>[09:05:01] Sess_accept: set sndbuf/rcvbuf to 204800<BR>[09:05:01] Sess_accept_continue: non unique private name MyName on mailbox 9<BR>[09:05:03] Sess_accept: set sndbuf/rcvbuf to 204800<BR>[09:05:03] Sess_accept_continue: non unique private name MyName on mailbox 9<BR>[09:05:05] Sess_accept: set sndbuf/rcvbuf to 204800<BR>[09:05:05] Sess_accept_continue: non unique private name MyName on mailbox 9</DIV>
<DIV>...</DIV>
<DIV>Than I tried a more polite way, I disconnect on Ctr-C, exit, and rerun the client:</DIV>
<DIV>...</DIV>
<DIV>[09:16:10] Setting SO_REUSEADDR to always off<BR>[09:16:10] Set runtime directory to '/var/run/spread'<BR>[09:16:10] Set user name to 'root'<BR>[09:16:10] Set group name to 'root'<BR>[09:16:10] Finished configuration file.<BR>[09:16:10] Conf_init: My name: nautilus, id: 10.10.0.153, port: 4803<BR>[09:16:10] Sess_init: INET bind for port 4803 interface 0.0.0.0 ok<BR>[09:16:10] Sess_init: INET went ok on mailbox 6<BR>[09:16:10] Sess_init: UNIX bind for name /tmp/4803 ok<BR>[09:16:10] Sess_init: UNIX went ok on mailbox 7<BR>[09:16:10] Sess_init: ended ok<BR>[09:16:15] Sess_accept: set sndbuf/rcvbuf to 204800<BR>[09:16:15] Sess_recv_client_auth: Client requested NULL type authentication<BR>[09:16:15] Sess_session_authorized: Accepting from 0.0.0.0 with private name MyName on mailbox 9<BR>[09:16:25] Sess_read: Message has type field 0x80040080<BR>[09:16:25] Sess_read: disconnecting session MyName ( mailbox 9 )<BR>[09:16:25] Sess_read: queueing message of type 8 with len 0 to the
 protocol<BR>[09:16:29] Sess_accept: set sndbuf/rcvbuf to 204800<BR>[09:16:29] Sess_accept_continue: non unique private name MyName on mailbox 9<BR>[09:16:31] Sess_accept: set sndbuf/rcvbuf to 204800<BR>[09:16:31] Sess_accept_continue: non unique private name MyName on mailbox 9</DIV>
<DIV>...</DIV>
<DIV>I see that spread got my "disconnect", but again "MyName" is not released.</DIV>
<DIV>&nbsp;</DIV>
<DIV>What am I doing wrong?</DIV>
<DIV>&nbsp;</DIV>
<DIV>I must say that it does succeed from time to time. I also played with the "reuse address" parameter, but I had success/fail both on: ON/OFF.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Yuval.</DIV><p>
                <hr size=1>Do you Yahoo!?<br> 
Yahoo! Mail - Find what you need with new enhanced search. <a href="http://us.rd.yahoo.com/evt=29917/*http://info.mail.yahoo.com/mail_250">Learn more.</a>