X-Git-Url: https://git.cworth.org/git?p=ttt;a=blobdiff_plain;f=src%2Fx.h;h=3b7f208d324e10b2582040779c36d78f443b72d4;hp=b3384af43d93b37aad0a96523cef97d2f616ab66;hb=7de44ed398081656115dce6db7d0a04c1a50bb34;hpb=15672ac8305a1c5ba0d9bf6edabb0a194c30628e diff --git a/src/x.h b/src/x.h index b3384af..3b7f208 100644 --- a/src/x.h +++ b/src/x.h @@ -63,6 +63,9 @@ xsocket (int domain, int type, int protocol); void xbind (int sockfd, const struct sockaddr *my_addr, socklen_t addrlen); +ttt_status_t +xconnect (int sockfd, const struct sockaddr *serv_addr, socklen_t addrlen); + void xlisten (int s, int backlog);