Well i have built a mechanism like this ,,, and it turned out to be quit
simple
on start of your program just let it broadcast a wakeup message ( with a
signature you provide ) , your program already running listens for
incoming messages with this specific signature and returns a apropriate
message
i used this for a remoting project ,,, however before i started the remote
object from the client i wanted to make sure that
1. a remoting server was running and wich version
2. what the settings were for the remote server ( ip adress , port
number )
3. wich server was the most powerfull server
4. wich server had the lowest load
so i implemented a broadcast mechanism on the UDP protocol ,,, i can write
a small example for you if you want
tell me wich version you use of VS.Net ( 2003 or 2005 ) this for
testing purposes of the test proggy ( as i use the code in both versions
without a change )
regards
Michel Posseth [MCP]
Sam said:
Hi,
I know how to allow only one instance of my .net application per user
using mutex.
Now I want to warn the user if someone else is using the application on
another pc of the same network.
How can I implement that ?
Thanks