Get number of computers that are using the network system

Asked

Viewed 220 times

0

I am developing a software and the client will only be able to use the system on a certain number of computers at a time. I’d like to know how I get the number of machines that have the system open every time a computer tries to open the system. If the amount of open computers exceeds the limit(Amount of computers varies with the license of use that the customer acquires when purchasing the system), the system will not open.

  • Do you have a central server for clients to communicate to? Or the application and standalone?

  • Has a server.

2 answers

1

Depends on its implementation.

If you are using direct TCP/IP connections, it’s easy: Monitor the collection of connections, and deny new connections if the value reaches the expected maximum.

If you are using non-permanent connections, you will need to implement some kind of active session control.

0

Browser other questions tagged

You are not signed in. Login or sign up in order to post.