Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

That's fun!

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



> broadcasting on 255.255.255.255 (...) I think it worked until we moved from hubs to switches ;)

Should work fine on switched network (like DHCP) ? - but won't cross subnets.

Ed: maybe some of you moved to wireless - and some stayed on a different cabled subnet?


You may be right, the details are quite fuzzy ;)

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.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: