File: socket.h

package info (click to toggle)
berolist 2.5.9-2
  • links: PTS
  • area: main
  • in suites: slink
  • size: 436 kB
  • ctags: 98
  • sloc: ansic: 2,792; sh: 1,507; makefile: 102
file content (10 lines) | stat: -rw-r--r-- 407 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
/* Socket prototype declarations */
/* $Id: socket.h,v 1.1.1.1 1998/08/21 18:11:02 root Exp $ */

FILE *SockOpen(char *host, int clientPort);
char *SockGets(FILE *sockfp, char *buf, int len);
int SockWrite(char *buf, int size, int nels, FILE *sockfp);
int SockPrintf(FILE *sockfp, char *format, ...);
int SockPuts(FILE *sockfp, char *buf);
int Reply(FILE *sockfp);
int Send(FILE *sockfp, char *format, ...);