From 35dafc7b17ce23da62dcce2195bed9b370680e65 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Wed, 5 Aug 2015 20:32:49 -0500 Subject: Tweak xconnect: socket can be a string (ala "ftp") from /etc/services. Still need a rethink on how to handle socket/bind/connect sequence. --- lib/lib.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/lib.h') diff --git a/lib/lib.h b/lib/lib.h index 8e6a8e2a..1b3f9575 100644 --- a/lib/lib.h +++ b/lib/lib.h @@ -205,7 +205,7 @@ void tty_sigreset(int i); // net.c int xsocket(int domain, int type, int protocol); void xsetsockopt(int fd, int level, int opt, void *val, socklen_t len); -int xconnect(char *host, int port, int family, int socktype, int protocol, +int xconnect(char *host, char *port, int family, int socktype, int protocol, int flags); // password.c -- cgit v1.2.3