Oh wow, I can't believe I missed that!
It works, thank you very, very much!


On 2/5/07, Byron Clark <[EMAIL PROTECTED]> wrote:
On 2/5/07, Steve <[EMAIL PROTECTED]> wrote:
> The break is occuring when I do the socket polling.  OSX appears to be
> lying about the IP address of the sender and saying it's 0.0.0.0.
> However in Linux the exact same code produces the correct result.
>
> Here is a link to the file in question if anyone would like to have a look.
> ftp://69.60.117.0/listener.h

You'll probably want to add this line to the top of your Poll() method:
addr_len = sizeof(struct sockaddr_in);

/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/


/*
PLUG: http://plug.org, #utah on irc.freenode.net
Unsubscribe: http://plug.org/mailman/options/plug
Don't fear the penguin.
*/

Reply via email to