aboutsummaryrefslogtreecommitdiffstats
path: root/socket.h
diff options
context:
space:
mode:
Diffstat (limited to 'socket.h')
-rw-r--r--socket.h4
1 files changed, 4 insertions, 0 deletions
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).