>On Tue, Oct 09, 2001 at 11:02:37PM -0300, Raul Dias <[EMAIL PROTECTED]> wrote:
>> I think I might have found another bug in Event.
>> 
>> when this watcher gets called the socket will be in blocking mode
>> ( $socket->blocking == 1 ).
>
>Are you really sure? I use event since a long time and it worked fine in
>this respect. I guess your code changes the blocking, can you code a small
>example that shows the problem?

found it.
The problem is not related to Event.pm, but how sockets works in general.

when you accept a connection like:
$client = $socket->accept;

$client will be in blocking mode _even_ if $socket is in non-blocking mode.

[]'s
Raul Dias

Reply via email to