That reminds me of a chat software that I did in Delphi 3 back in 1999/2000 (being not that much older than OP) for our LAN parties, that was basically broadcasting on 255.255.255.255 [0]
It was inspired by Kali (remember Kali? [1]) and IRC.
I think it worked until we moved from hubs to switches ;)
I don't even understand the network code all that much (actually written by a friend) but it does use INADDR_ANY, INADDR_BROADCAST and SO_BROADCAST.
edit: Tried it on two old Windows 7 computers on my mixed rj45 / wifi home network and some chat data are received by the other party and some don't, or it crashes. Fun.
edit2: Actually works great on a version where I could set a specific broadcast address like 192.168.1.255.
That reminds me of a chat software that I did in Delphi 3 back in 1999/2000 (being not that much older than OP) for our LAN parties, that was basically broadcasting on 255.255.255.255 [0]
It was inspired by Kali (remember Kali? [1]) and IRC.
I think it worked until we moved from hubs to switches ;)
Keep on coding! :)
[0] https://i.imgur.com/IPGPaae.png
[1] http://www.tweak3d.net/articles/kali/images/bigchat.jpg