File: socket.h

package info (click to toggle)
berolist 2.5.5-9
  • links: PTS
  • area: main
  • in suites: hamm
  • size: 436 kB
  • ctags: 100
  • sloc: ansic: 2,770; sh: 1,513; makefile: 97
file content (9 lines) | stat: -rw-r--r-- 346 bytes parent folder | download
1
2
3
4
5
6
7
8
9
/* Socket prototype declarations */

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, ...);