On 2004.02.21, Taguchi Takeshi <[EMAIL PROTECTED]> wrote:
> static void
> PreBind(char *line)
> {
...
> hPtr = Tcl_CreateHashEntry(&prebound, (char *) &sa, &new);
I'd run through this with gdb, and dump the contents of the sockaddr_in
struct in "sa" to see what's being set as the hash key. I'd also dump
the entire "prebound" hash table to see what got stored.
> int
> Ns_SockListenEx(char *address, int port, int backlog)
> {
...
> hPtr = Tcl_FindHashEntry(&prebound, (char *) &sa);
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?
-- Doss
--
Dossy Shiobara mail: [EMAIL PROTECTED]
Panoptic Computer Network web: http://www.panoptic.com/
"He realized the fastest way to change is to laugh at your own
folly -- then you can let go and quickly move on." (p. 70)
--
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.