Question about LAN multiplayer

Ah, sorry for dumping all of this, I am reading when broadcasting 255 is used as a subnet mask.

192.168.1.255 would broadcast to any ips in the range 192.168.1.[0-255]

192.168.255.255 would broadcast to this range 192.168.[0-255].[0-255]

And so on.

I would recommend at least doing 192.168.255.255, this will support most home networks, I personally lease my local IPs with 192.168.88.[0-255], class A networks, like those in a large office might use 10.[0-255].[0-255].[0-255] so if you want to support after-hours LAN parties that would be nice.

There isn’t much harm in 255.255.255.255, firewalls exist and all that, your game’s packets wont go far.