2020-02-06, 04:08 PM
(2019-07-24, 07:36 AM)holgerw Wrote: Hello, just an little Tip:
UDP broadcast uses the last IP Adress in your Network.
So with the standard 10.10.10.1/24 you should send port 2000 to 10.10.10.255 (or 10.10.10.0).
These "0" and "255" IPs are normaly reserved, so there is no device with this IP.
Eventually 255.255.255.255 or 0.0.0.0 could work,
but why should anyone use adresses outside of his own (private) network?
Looking at Wikipedia: https://en.wikipedia.org/wiki/Broadcast_address.
The important part is here:
Quote:A special definition exists for the IP 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.
Looks like he's using that address exactly as intended.