martin, imho limiting amount of concurrent connections is rather against the idea of tcp/ip, and to be honest, i cannot understand what precisely you want to achieve? is it a theoretical game or you want to do something practically, eg. limit bandwidth? s.