From 79b59f9b30fb6a1fdf8c3efb446271f7cb00d434 Mon Sep 17 00:00:00 2001 From: Markus Uhlin Date: Thu, 7 Dec 2023 21:31:49 +0100 Subject: FICS 1.6.2 --- FICS/get_tcp_conn.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 FICS/get_tcp_conn.h (limited to 'FICS/get_tcp_conn.h') diff --git a/FICS/get_tcp_conn.h b/FICS/get_tcp_conn.h new file mode 100644 index 0000000..01320ae --- /dev/null +++ b/FICS/get_tcp_conn.h @@ -0,0 +1,13 @@ +/* +** Return codes from get_tcp_conn(). +*/ +#define FAIL (-1) /* routine failed */ +#define NOHOST (FAIL-1) /* no such host */ +#define NOSERVICE (FAIL-2) /* no such service */ + +extern int get_tcp_conn(char *, int); +extern unsigned long **name_to_address(char *); + +/* extern int bcopy(); */ +extern int socket(); +extern int connect(); -- cgit v1.2.3