Re: UDP Broadcasts Don't Work
Re: UDP Broadcasts Don't Work
- Subject: Re: UDP Broadcasts Don't Work
- From: Brian Barnes <email@hidden>
- Date: Wed, 22 Aug 2007 00:39:34 -0400
Quinn wrote: o On the receive side, are you binding to INADDR_ANY? If you don't do this, you'll only receive packets specifically targetted at your IP address (that is, not broadcasts).
BINGO! That was it, I had no idea I had to bind to INADDR_ANY, and was instead binding to the discovered IP of the machine. This fixes everything, thank you very much. I knew it was some bit of minutia that I obviously didn't know, you've been a great help and now dim3 can auto-discover local servers!
[>] Brian |
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Macnetworkprog mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden