1 /* Tetrinet for Linux, by Andrew Church <achurch@achurch.org>
2 * This program is public domain.
4 * Socket routine declarations.
10 extern int sgetc(int s
);
11 extern int sungetc(int c
, int s
);
12 extern char *sgets(char *buf
, int len
, int s
);
13 extern int sputs(const char *buf
, int len
);
14 extern int sockprintf(int s
, const char *fmt
, ...);
15 extern int conn(const char *host
, int port
, char ipbuf
[4]);
16 extern void disconn(int s
);
18 #endif /* SOCKETS_H */