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

> 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.




Consider applying for YC's Summer 2026 batch! Applications are open till May 4

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

Search: