At 8:29 PM -0400 9/30/07, Roger Clary wrote:
>The situation I'm looking at is one in which the user installs my app
>on a network drive and then launches the app concurrently from
>multiple clients.
> From my testing, this is possible on a Win platform.
>I want to prohibit this unless a site license has been purchased.
>I thought about installing a small hidden file upon launch,
>preventing other launches if that file is present, then deleting the
>file at exit.
>The problem, which quickly became apparent, is that if the app
>crashes, the file is left in place preventing any launches.
>Suggestions gratefully welcomed.
If you're sure that all the clients would be on the same LAN, you
might consider using either the AutoDiscover class or a UDP socket to
a multicast group address directly. These would be a pretty quick and
easy solution, but the detection would not likely span across a
router, so it wouldn't be useful in larger networks where the users
might be separated from each other or the server by one or more
routers.
Regards,
Joe Huber
_______________________________________________
Unsubscribe or switch delivery mode:
<http://www.realsoftware.com/support/listmanager/>
Search the archives:
<http://support.realsoftware.com/listarchives/lists.html>
|