2005-11-09 Carl Worth <cworth@cworth.org>
authorCarl Worth <carl@theworths.org>
Wed, 9 Nov 2005 14:37:16 +0000 (14:37 +0000)
committerCarl Worth <carl@theworths.org>
Wed, 9 Nov 2005 14:37:16 +0000 (14:37 +0000)
commit152ea9285ef3804783540d46263a7fc9802bc7db
treed5a44e7c9457af03ec3af485f46448e750222ba9
parent49f7f9e3dc198c3593021bff5514f19090a4834c
2005-11-09  Carl Worth  <cworth@cworth.org>

        * src/Makefile.am:
        * src/ttt.h:
        * src/ttt-server.c: (ttt_dispatch), (main):
        * src/ttt-socket.h:
        * src/ttt-socket.c: (_sockaddr_init), (_wait_for_connection),
        (ttt_socket_create_server), (ttt_socket_accept): Push a lot of
        code out of ttt-server.c down into a new ttt_socket abstraction
        layer. The code is much easier to read now. The server also no
        longer exits when the first client exits, but continues to listen
        for more connections.
ChangeLog
src/Makefile.am
src/ttt-server.c
src/ttt-socket.c [new file with mode: 0644]
src/ttt-socket.h [new file with mode: 0644]
src/ttt.h