9-2-4
Broadcasting
If you specify a broadcast address as the destination IP address for a UDP socket, data can be broad-
cast to all nodes on the network to which the host for the EtherNet/IP port belongs.
If there is a router on the network, packets are not sent beyond the router
.
You can broadcast up to 1,472 bytes of data. Data larger than the maximum size cannot be broadcast.
You can specify either of the two following types of broadcast addresses.
• Local Broadcast
If no destination IP address is specified, the following IP address is specified automatically.
Network segment: The network segment of the local IP address is set.
Host segment: All bits are set to 1.
• Global Broadcast
Specify this type when the IP address of the local node or the subnet to which the local node be-
longs is unknown.
As shown below, every bit of the 32-bit address is set to 1.
255.255.255.255
9 Socket Service
9-9
NJ/NX-series CPU Unit Built-in EtherNet/IP Port User’s Manual (W506)
9-2 Basic Knowledge on Protocols
9
9-2-4 Broadcasting