Hi, Dossy. > I'd do the same here. Maybe "sa" isn't the same, so it's not finding > the hash entry. > > > Tcl_FindHashEntry() is seem fail. Why ? I think key value may be > > incorrect. > > I'm thinking you're right. What platform are you on again? OSX?
My platform is FreeBSD-5.2-CURRENT. And I think *You* are right. Because, I've modify binder.c as it generate hash key string using address and port number, not (char *)sa. But I got same probrem. so, (Actuary, I think (char *)sa is not so beautifull), But It may be work. I think it is a "race condition probrem". I think "-b" option itselfs is NOT our friends. nsd should work: (1) parse config file. (2) find out all address and port num (3) select port num which need root priv. (4) PreBind() all of such ports. (5) setuid(),setgid() and fork children. (6) do server jobs. So "-b" option and NsClosePreBound() will be NOT needed. 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.
