asynchronous socket writing

Marc Lehmann schmorp at schmorp.de
Thu Mar 11 20:46:44 CET 2010


On Thu, Mar 11, 2010 at 03:54:05PM +0100, "Jonas H." <jonas at lophus.org> wrote:
> What I don't really get is: If libev is event-driven, why won't I get  
> other 'accepts' while there's already another transaction going on in  
> the background? (I've set both sockets to be nonblocking.)  Does this  

Whats a transaction?

Keep in mind that you need to do non-blocking I/O (i.e. you must not
block), and of course you actually have to run the event loop (which is
why you must not block :).

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      schmorp at schmorp.de
      -=====/_/_//_/\_,_/ /_/\_\



More information about the libev mailing list