(12-05-2024, 09:21 AM)Ahmed Sayed Wrote: When I try using the Broadcast function in the UDP client/server and using the IP address "255.255.255.255," it only sends the message to the current VLAN and local machine.
Makes sense, as broadcasts are not supposed to cross VLAN/subnet boundaries.
(12-05-2024, 09:21 AM)Ahmed Sayed Wrote: But when I use that VLAN IP address something like "192.168.5.255" it does broadcast the message to all the servers that listen to the port I defined.
Yes, when you want to broadcast to a specific VLAN/subnet, you have to use that VLAN/subnet's particular broadcast IP. Otherwise, don't use a broadcast at all, use unicast or multicast instead.
(12-05-2024, 09:21 AM)Ahmed Sayed Wrote: Does Indy have anything to help me with this
Not for the specific issue of broadcasting across VLANs, no. It does have multicast components, though.
(12-05-2024, 09:21 AM)Ahmed Sayed Wrote: or maybe broadcast the message to the whole network across VLANs?
Not by default, no. You would need extra help from your network hardware to forward broadcasts from one VLAN/subnet to another. You can't control that from your program code.

