Can I execute UDP broadcast packets on my machine? I donโt have a network, I just have a cheap box for Linux. I want the server to send a packet and two or more clients on the same computer as theirs. Is it possible? What is the IP address I use?
@gravyface gave me hope, but I tried: 1) send the server to 127.255.255.255:54321 and the clients that sent 0.0.0.0:54321. 2) sending the server to 127.255.255.255:54321 and clients listening on 127.0.0.1:54321. 3) sending a server to 127.255.255.255:54321 and clients listening on 127.255.255.255.255:54321. None of them work! : (
OBS: I use the REUSE_ADDR and SO_BROADCAST options.
source share