From bd57c85d9a2cc1e95e0ae16168b764204755e143 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 16 Feb 1998 06:28:50 +0000 Subject: Alll of Craig Metz's changes for IPv6 and IPSEC except the POP3 stuff. svn path=/trunk/; revision=1630 --- socket.h | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'socket.h') diff --git a/socket.h b/socket.h index 42f5c512..83e1b366 100644 --- a/socket.h +++ b/socket.h @@ -8,7 +8,11 @@ #define SOCKET__ /* Create a new client socket; returns (FILE *)NULL on error */ +#if INET6 +int SockOpen(const char *host, const char *service); +#else /* INET6 */ int SockOpen(const char *host, int clientPort); +#endif /* INET6 */ /* Get a string terminated by an '\n' (matches interface of fgets). -- cgit v1.2.3