Re: CVS: commit uwog abiword-plugins/tools/abicollab/handlers/tcp/xp ServerIOHandler.h

From: J.M. Maurer <uwog_at_uwog.net>
Date: Wed Jan 31 2007 - 12:29:06 CET

On Wed, 2007-01-31 at 00:17 +0000, cvs@abisource.com wrote:
> Update of /cvsroot/abiword-plugins/tools/abicollab/handlers/tcp/xp
> In directory abiword.snt.utwente.nl:/tmp/cvs-serv10645
>
> Added Files:
> ServerIOHandler.h
> Log Message:
> The server part of the TCP handler now accepts connections asynchroniously (threaded).
> This TCP backend implementation requires boost, feel free to write a non-boost
> one :)
>

I'm gonna do things differently:

- Drop asio, as I can't handle the watches on the socket fd's themselves
(which means I can't integrate it with the glib main loop afaics now).
- implement the low-level network handling myself,
- on platforms where we have a glib main loop: integrate this with the
mainloop; this will remove the need for threads, and we still don't need
polling
- on platforms without the glib mainloop: do UT_timer based polling;
this also removes the need for threads. It will introduce polling
though, but given the typical win32 platform, it doesn't by far matter
as much as on a platform such as the OLPC.

Comments welcome,
  Marc
Received on Wed Jan 31 12:28:57 2007

This archive was generated by hypermail 2.1.8 : Wed Jan 31 2007 - 12:28:59 CET