From b85d71b67a2743272f46c85bf479b1051171193d Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 17 Dec 1996 20:53:10 +0000 Subject: SockGets is gone. svn path=/trunk/; revision=650 --- socket.h | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'socket.h') diff --git a/socket.h b/socket.h index a69f36bc..11d9e296 100644 --- a/socket.h +++ b/socket.h @@ -7,18 +7,7 @@ #ifndef SOCKET__ #define SOCKET__ -/* -Create a new client socket -returns (FILE *)NULL on error -*/ -FILE *Socket(char *host, int clientPort); - -/* -Get a string terminated by an '\n', delete any '\r' and the '\n'. -Pass it a valid socket, a buffer for the string, and -the length of the buffer (including the trailing \0) -returns 0 for success. -*/ -int SockGets(char *buf, int len, FILE *sockfp); +/* Create a new client socket; returns (FILE *)NULL on error */ +FILE *sockopen(char *host, int clientPort); #endif /* SOCKET__ */ -- cgit v1.2.3