Help please!!!

From: Rahul Kumar (rahul.kumar.remove_it_at_sage.remove_it.com)
Date: 04/20/04


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



Relevant Pages

  • TCP/IP port mapping through RDP session? (virtual channel?)
    ... I'm doing some testing in preparation for a web app ... which will run on a private LAN. ... app needs to do is query the domain controller using LDAP (to do user ...
    (microsoft.public.windows.terminal_services)
  • Re: Meaning of exception 0xC0000006 (EXCEPTION_IN_PAGE_ERROR)
    ... > I have a client that is getting 0xC0000006 errors in my app, ... > me that this is a LAN connectivity problem. ... which happen to be the only users experiencing this problem ... > was unable to load the page. ...
    (microsoft.public.vc.debugger)
  • Data Access via VPN
    ... I have an app that originally was used on a LAN. ... The app is very recordset intensive and uses Access as the database. ... through the VPN even though it is lightning fast over the LAN. ... on the work station sends a request to the server on the server ...
    (microsoft.public.vb.general.discussion)
  • Meaning of exception 0xC0000006 (EXCEPTION_IN_PAGE_ERROR)
    ... I have a client that is getting 0xC0000006 errors in my app, causing it ... me that this is a LAN connectivity problem. ...
    (microsoft.public.vc.debugger)
  • Re: public ip address behind nat
    ... >>In the LAN i have the other machine application.example.com ... If it's internal, then machines on the lan can see the internal IP, so ... point the ports you need opened on app to the local addy of app, ... the easiest way if you don't want to give an external addy to app. ...
    (freebsd-net)