C
Crirus
Hi there!
This is the problem:
I have a server that accept connections.
Each request span a thread that handle it.
I need a way to store the client IP's.
If the requests made from a single IP pass a number, say 10, I want to drop
that request without processing.
All that request have a timeout so after say 10 sec elapsed, the requests
number made fom a single IP is decreased by one, so the client cant make
more that 10 requests in 10 secs.
Can someone help me?
Thanks, Crirus
This is the problem:
I have a server that accept connections.
Each request span a thread that handle it.
I need a way to store the client IP's.
If the requests made from a single IP pass a number, say 10, I want to drop
that request without processing.
All that request have a timeout so after say 10 sec elapsed, the requests
number made fom a single IP is decreased by one, so the client cant make
more that 10 requests in 10 secs.
Can someone help me?
Thanks, Crirus