hi,
I'm trying to receive a broadcast address in protocol UDP with Ethershield.
My program only receives a regular IP address
How can I manage subnet mask with arduino 1.0?
Thanks for your answers.
hi,
I'm trying to receive a broadcast address in protocol UDP with Ethershield.
My program only receives a regular IP address
How can I manage subnet mask with arduino 1.0?
Thanks for your answers.
If you open a UDP receive port you should receive any packets broadcast to that UDP port on your local subnet.
You receive the subnet mask form your DHCP server. If you don't have a DHCP server (which means you are providing a fixed IP address) you specify the DNS server address, gateway address, and subnet mask when you call Ethernet.begin().