Limit one connection per IP address

February 23, 2010 at 19:15:54
Specs: Windows Server 2003, 1GB
I run a game server and i would like to restrict only 1 user per ip on port 43594. is this possible, if so what steps must i take.

edited by moderator: Deleted Email address

See More: Limit one connection per IP address

Report •

February 23, 2010 at 19:52:28
The only way you are going to do that is to put a cookie on the users machine when they log on that picks up machine IP address and sends it along with public IP address whenever they send anything to the games server.

You are then going have to have some software on the game server that monitors incoming packets and checks if there are any public IPs with different machine IPs.

Needs some pretty neat programming but it can be done.

BTW: It is not a good idea to put your email address on a public forum. It is an open invitation to spammers. Besides. the idea is that you answer a question, it gets answered and then when somebody else comes along they also can see the answer.


Report •

February 23, 2010 at 20:11:36
Thanks for the advice and ill try that out.
How can i construct the cookie?

Report •

February 24, 2010 at 06:05:31

Report •
Related Solutions

Ask Question