Valhalla Legends Archive

Programming => General Programming => Topic started by: saintage on April 27, 2003, 06:57 PM

Title: Limited Connections based on IP
Post by: saintage on April 27, 2003, 06:57 PM
Hello, i was wondering if anyone knew how to limit a certain amount of connections per ip in c++ to a certain program?
Title: Re:Limited Connections based on IP
Post by: iago on April 27, 2003, 08:42 PM
Just check their ip against a list of ips when it tries to connect, and if it matches to a certain number, deny it, otherwise increment the count for that ip and move on.