255.255.255.255 is the special broadcast address<http://en.wikipedia.org/wiki/Broadcast_address> :
A special definition exists for the IP broadcast address 255.255.255.255. > It is the broadcast address of the *zero network* or 0.0.0.0, which in > Internet Protocol standards stands for *this network*, i.e. the local > network. Transmission to this address is limited by definition, in that it > is never forwarded by the routers connecting the local network to other > networks. > On Thursday, May 30, 2013 8:07:32 AM UTC-4, Jan Buschtöns wrote: > > Thanks for your reply. > > This looks really good! FYI, I had to move the socket.setBroadcast(true); > inside the socket.bind(broadcastPort, '0.0.0.0') callback, otherwise node > quits with "Error: setBroadcast EBADF". > > It seems that I misunderstood the UDP network architecture. Could you > elaborate a bit on 0.0.0.0 and 255.255.255.255? > > Thanks, > Jan > -- -- Job Board: http://jobs.nodejs.org/ Posting guidelines: https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines You received this message because you are subscribed to the Google Groups "nodejs" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/nodejs?hl=en?hl=en --- You received this message because you are subscribed to the Google Groups "nodejs" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
