|
-
Mar 16th, 2008, 12:36 PM
#1
Thread Starter
Fanatic Member
[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?
-
Mar 16th, 2008, 01:05 PM
#2
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.
My usual boring signature: Nothing
 
-
Mar 16th, 2008, 01:14 PM
#3
Thread Starter
Fanatic Member
Re: Broadcast to ALL instances over a LAN
Thanks, it seems to have worked =).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|