forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Limit the number of concurrent users on a network

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Mon Jul 31, 2006 12:00 pm    Post subject: Limit the number of concurrent users on a network Reply with quote

I am doing this program for a client. It is almost finished, but now the client wants a network-based version of the program.
This version should be able to limit the number of concurrent users so that a 5-user version allows max 5 users on the network to be running the program at the same time.

Does anybody have any experience on this or just some sound idea about how to do it?

Greetz
Dr. Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
PGWARE
Web Host


Joined: 29 Dec 2001
Posts: 1566

PostPosted: Mon Jul 31, 2006 3:06 pm    Post subject: Reply with quote

You could use vdsipp and have it setup a local server, and have all client computers on the network checkin. A basic udp or tcp client/server will work in this case. In fact you can check the udp examples with VDSIPP as it shows how many clients are connected to the server.

The client could login to the server, if the server notices more than 5 users it sends back text 'DENIED' or whatever text you want basically telling the client program to shutdown.

Using the vdsipp you can make the program work on a local network and you can later make the program work over the internet. Have the clients connect to the local ip for a local network or supply the internet ip to work over the internet Smile
Back to top
View user's profile Send private message
Skit3000
Admin Team


Joined: 11 May 2002
Posts: 2166
Location: The Netherlands

PostPosted: Tue Aug 01, 2006 7:31 am    Post subject: Reply with quote

And if you don't have a Windows server available online 24/7, you could also create a webpage with PHP or ASP which does about the same. Let your program contact the PHP or ASP page every two minutes and let that script store how many people are online. If too many people are online, just send back a text like 'DENIED'. Smile
_________________
[ Add autocomplete functionality to your VDS IDE windows! ]
Voor Nederlandse beginners met VDS: bekijk ook eens deze tutorial!
Back to top
View user's profile Send private message
Dr. Dread
Professional Member
Professional Member


Joined: 03 Aug 2001
Posts: 1065
Location: Copenhagen, Denmark

PostPosted: Thu Aug 03, 2006 7:19 am    Post subject: Reply with quote

Thanks. That has provided a couple of ideas as a starting point....

Greetz
Dread

_________________
~~ Alcohol and calculus don't mix... Don't drink and derive! ~~

String.DLL * advanced string processing
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum

Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group