Hi,all.

Followings is my darty, not beautifull solution.
In nsmain.c, I modify it as following:

    /*
     * Start the drivers now that the server appears ready
     * and then close any remaining pre-bound sockets.
     */

    NsStartDrivers();
#ifndef _WIN32
    sleep(10);   /* DARTY SOLUTION! */
    NsClosePreBound();
#endif

It's seem work fine.

Ofcause, "race condition" should be resolve. I strongly hope so.
This one may not work, if the server was spacified as its hotname, and
its DNS was very slow (if its address resolution needs more than 10 sec).

Thanks.
--
T.Taguchi.


--
AOLserver - http://www.aolserver.com/

To Remove yourself from this list, simply send an email to <[EMAIL PROTECTED]> with the
body of "SIGNOFF AOLSERVER" in the email message. You can leave the Subject: field of 
your email blank.

Reply via email to