Re: Help please!!!

From: Dilip Krishnan (dilipdotnet..NOSPAM.._at_apdiya.com)
Date: 04/21/04


Date: Wed, 21 Apr 2004 14:51:41 -0500

Have you thought about centralizing your discovery using a SQL server or
something? You woudlt have to broadcast it as its controlled centrally

Rahul Kumar wrote:

> 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
>
>

-- 
Regards,
Dilip Krishnan
MCAD, MCSD.net
dilipdotnet at apdiya dot com


Relevant Pages

  • Re: Request for suggestions re: architecture of IntraNet/Socket app[s]
    ... I am commissioned with determining the "right" architecture for an application for controlling movement of stock in a warehouse. ... Much of your system describes monitoring -- control implies schedule and tracking for purposes of changing system operation -- correct? ... If multiple machines can handle the pieces and some machines do different operations -- then there is an element of scheduling and a time frame in which to complete. ... separate RealTime system either from the IntraNet server app OR from another ...
    (borland.public.delphi.non-technical)
  • Re: MFC MDI app hangs randomly on some machines, but not others (most are OK). Typical causes?
    ... If the problem is reproducible on the problematic machines, that is, the ... same file always hang on machine X, but not on Y and Z, you will probably ... old method of adding logging code to your app, ... > major Windows operating systems have failed to reproduce the bug. ...
    (microsoft.public.vc.mfc)
  • Re: running apps as power user. Permission problems.
    ... >runs the app as a power user logged onto their network. ... Then reduced their rights to power ... developers run their own machines as supervisor. ... programmers seem to do a basic installation, ghost it, and just scrub ...
    (microsoft.public.windowsxp.security_admin)
  • Re: No Touch Deployment Not Working On Some PCs
    ... hi hakl, ... When I installed the app to run locally on the machine that would ... > BusinessObjects assemblies disappear from the Global Assembly Cache. ... >> do the reports open OK on problem machines if you install the app and run ...
    (microsoft.public.dotnet.framework.windowsforms)
  • Re: Counter Strike blocker?
    ... - School policy - From what you say there is a distinct lack of school ... and i mean no one should be admin of any machines except the ... spot any game servers would be to have a machine installed with Half life ... Another alternative would be to create an invisible app (one that is not ...
    (microsoft.public.dotnet.languages.vb)