From 8bfee971326790997eeb468290e2e1f533a30525 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 20 Feb 1998 17:17:40 +0000 Subject: Add option arg to IPv4 code. svn path=/trunk/; revision=1662 --- socket.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'socket.c') diff --git a/socket.c b/socket.c index 1f8733a9..9fd04024 100644 --- a/socket.c +++ b/socket.c @@ -73,7 +73,7 @@ int SockOpen(const char *host, const char *service, const char *options) #endif #endif /* INET_ATON */ -int SockOpen(const char *host, int clientPort) +int SockOpen(const char *host, int clientPort, const char *options) { int sock; #ifndef INET_ATON @@ -220,7 +220,7 @@ int SockPeek(int sock) */ main() { - int sock = SockOpen("localhost", 19); + int sock = SockOpen("localhost", 19, NULL); char buf[80]; while (SockRead(sock, buf, sizeof(buf)-1)) -- cgit v1.2.3