Re: sleep in asyncore

2007-01-11 Thread Fredrik Lundh
"billie" <[EMAIL PROTECTED]> wrote: > I'm writing an authentication server by using asyncore / asynchat > modules. > I'd like to implement a basic brute-force protection by "freezing / > sleeping" the current client session for a period of time (e.g. 2 > seconds) when the user sends a wrong passwo

sleep in asyncore

2007-01-11 Thread billie
Hi all. I'm writing an authentication server by using asyncore / asynchat modules. I'd like to implement a basic brute-force protection by "freezing / sleeping" the current client session for a period of time (e.g. 2 seconds) when the user sends a wrong password. Does someone knows a "trick" to do