asynchronous socket writing

Dan White dwhite at
Fri Mar 12 16:56:35 CET 2010

On 12/03/10 16:49 +0100, Jonas H. wrote:
> On 03/12/2010 03:50 PM, Marc Lehmann wrote:
>> No, it uses events and non-blocking I/O, was other people have pointed out.
> I am very sorry but I still don't get it.
>   How on earth can I get the 'you-can-now-write' event for another  
> client/request/whatever while writing to another client the same time?
>   Is this something libev handles for you? Splitting up big writes into  
> smaller ones, giving other clients a chance to be written to after each  
> part?
>     Jonas


This site should provide some good background theory on how to handle
multiple sockets within a single threaded application:

Dan White

More information about the libev mailing list