[ccan] ccan: the psuedo "networking" module.

Allan Ference f.fallen45 at gmail.com
Fri Jan 4 06:37:08 EST 2013


On Wed, Jan 2, 2013 at 11:54 PM, Rusty Russell <rusty at rustcorp.com.au>wrote:

>         The idea was that every callback arranged a 'next' function:
> this one is a little special, meaning we close the connection
> immediately.
>
Ah, right, so the next callback passed to conn_next would be called with
the argument.

> Normally, when they call conn_next(), we just assign to connection->next
> so we know what to call next time, and return (back to the main loop).
>
> If we're debugging, conn_next() should invoke the main loop itself,
> rather than returning.
>
> But this is an optional feature which can be implemented afterwards...
>
> I had guessed that already but thanks, anyway, the code is finished except
that it works only with epoll, so I gotta fix select and i'll commit the
results to my tree and notify you.

Cheers,
Allan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ozlabs.org/pipermail/ccan/attachments/20130103/78f7983b/attachment.html>


More information about the ccan mailing list