This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Navionics AIS
#13
(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.
Reply


Messages In This Thread
Navionics AIS - by garysmith - 2019-07-22, 06:30 PM
Navionics AIS - by abarrow - 2019-07-22, 06:45 PM
RE: Navionics AIS - by abarrow - 2019-07-22, 09:42 PM
Navionics AIS - by uriguri - 2019-07-23, 01:04 AM
RE: Navionics AIS - by abarrow - 2019-07-23, 04:36 PM
RE: Navionics AIS - by abarrow - 2019-07-23, 02:58 PM
RE: Navionics AIS - by abarrow - 2019-07-23, 10:29 PM
RE: Navionics AIS - by holgerw - 2019-07-24, 07:36 AM
RE: Navionics AIS - by emilecantin - 2020-02-06, 04:08 PM
Navionics AIS - by abarrow - 2019-07-24, 02:58 PM
RE: Navionics AIS - by rafaelnfernandes - 2019-08-20, 09:07 PM
RE: Navionics AIS - by rafaelnfernandes - 2019-09-02, 10:28 PM
RE: Navionics AIS - by SkipperEarly - 2020-02-06, 08:42 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)