plobb - 2003-06-16

lmule have problems to connect after crash.
to fix this problem, the software can use following for connect on startup (in socket-connect)..

optval is int

optval = 1; /* re-use address true */
setsockopt(_socket,SOL_SOCKET,SO_REUSEADDR,(void *)&optval,sizeof(optval));

bind... blabla

bye plobb