2005-11-29 Carl Worth <cworth@cworth.org>
authorCarl Worth <carl@theworths.org>
Tue, 29 Nov 2005 13:44:54 +0000 (13:44 +0000)
committerCarl Worth <carl@theworths.org>
Tue, 29 Nov 2005 13:44:54 +0000 (13:44 +0000)
commit7de44ed398081656115dce6db7d0a04c1a50bb34
tree85bd4738ff0f85196899fbfa92459ac7ee1b02a2
parentb95a33abda8faac3638691dde70de0d59fadb30f
2005-11-29  Carl Worth  <cworth@cworth.org>

        * src/ttt-socket.h:
        * src/ttt-socket.c: (ttt_socket_create_client): New function for
        creating a client socket.

        * src/x.h:
        * src/x.c: (xconnect): Add xconnect. Return a couple of useful
        error status values so that callers can recover on connection
        refused or host unreachable.

        * src/ttt.h: Add TTT_STATUS_CONNECTION_REFUSED and
        TTT_STATUS_NETWORK_UNREACHABLE.
ChangeLog
src/ttt-socket.c
src/ttt-socket.h
src/ttt.h
src/x.c
src/x.h