[RESOLVED] Broadcast to ALL instances over a LAN
I was wondering if it's possible to have a server application broadcast over a LAN, and i'm not just talking about the broadcast address (255.255.255.255). I want to be able to detect the broadcast from another app that's listening without knowing the port that the server app is broadcasting from.
Is this possible without listening on every UDP port?
Re: Broadcast to ALL instances over a LAN
I haven't tried it, but I found some example code that created a UDP server that listened on any port. I seem to remember that the way this is done is by setting the port to 0, but you would want to verify that.
Re: Broadcast to ALL instances over a LAN
Thanks, it seems to have worked =).