[DGD] Developing a network daemon

Felix A. Croes felix at dworkin.nl
Thu Sep 10 02:22:47 CEST 2009


Shentino <shentino at gmail.com> wrote:

> Victimized by sloppy typing yet again.
>
> I meant the network daemon itself handling multiple data streams at once.

Take a look at the manual page for "select," which is what DGD uses,
or "epoll," which is what DGDMP uses on linux.  The former is portable,
the latter is not.  Alternatively, you could just start two threads
for each connection.

Regards,
Felix Croes



More information about the DGD mailing list