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

Jonas,

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

http://www.kegel.com/c10k.html

--
Dan White

_______________________________________________
libev mailing list
[email protected]
http://lists.schmorp.de/cgi-bin/mailman/listinfo/libev

Reply via email to