in reply to Re: Problems with INET, Select, and Win32
in thread Problems with INET, Select, and Win32

Getting rid of the peeraddr = ntoa (INADDR_BROADCAST) fixed the receive problem. I assumed adding this would enable input from any source but it does not. I would assume that what it really means is to take packets only from the broadcast IP address as a source (which would be very odd). thanks for the suggestion.

As for the crash upon exiting the thread, I get the following message from strawberry perl:

"Free to wrong pool e64070 not 3f67c8, <STDIN> line 1 during global destruction."

the pool values change on each run.

  • Comment on Re^2: Problems with INET, Select, and Win32

Replies are listed 'Best First'.
Re^3: Problems with INET, Select, and Win32
by ikegami (Patriarch) on Nov 25, 2010 at 18:44 UTC

    I would assume that what it really means is to take packets only from the broadcast IP address as a source (which would be very odd).

    I'm surprised that you can call connect for a connection-less socket, but I'm not surprised that it would only cause packets to be accepted form the address you specify to accept packets from. Your request was indeed very odd. Maybe you were thinking of INADDR_ANY. As for the crash upon exiting the thread, I get the following message from strawberry perl:

    "Free to wrong pool e64070 not 3f67c8, <STDIN> line 1 during global destruction."

    I can confirm that error message is related to threads. Still have nothing to debug.