Help please!!!
From: Rahul Kumar (rahul.kumar.remove_it_at_sage.remove_it.com)
Date: 04/20/04
- Next message: Allen Anderson: "Re: Help please!!!"
- Previous message: Allen Anderson: "Re: begginers tutorial on net"
- Next in thread: Allen Anderson: "Re: Help please!!!"
- Reply: Allen Anderson: "Re: Help please!!!"
- Reply: Dilip Krishnan: "Re: Help please!!!"
- Messages sorted by: [ date ] [ thread ]
Date: Tue, 20 Apr 2004 09:08:33 +0100
Hi All,
I have this little implementation issue. I have to implement a mechanism in
my app so that, on a LAN no more than a specified number of instances of the
app can run at a time. So that it can be installed on any number of machines
but can run only on a limited number of machines.
I have thought of the following strategy:
When the app starts it broadcasts its presence to all other machines on the
LAN. If there are other instances running, they increment the existing app
count by one (which would be the same on every app instance). If this app
count turns out to be bigger thar the allowed number, the newest app is sent
back an instruction to shut down (by the other apps) with an appropriate
message.
My problem is how to implement this. To begin with, how do I know the IP
addresses of all the machines on the LAN?
Could someone please point to the right direction please?
Regards
Rahul
- Next message: Allen Anderson: "Re: Help please!!!"
- Previous message: Allen Anderson: "Re: begginers tutorial on net"
- Next in thread: Allen Anderson: "Re: Help please!!!"
- Reply: Allen Anderson: "Re: Help please!!!"
- Reply: Dilip Krishnan: "Re: Help please!!!"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|