diff options
author | Markus Uhlin <markus@nifty-networks.net> | 2023-12-07 21:31:49 +0100 |
---|---|---|
committer | Markus Uhlin <markus@nifty-networks.net> | 2023-12-07 21:31:49 +0100 |
commit | 79b59f9b30fb6a1fdf8c3efb446271f7cb00d434 (patch) | |
tree | f6ade4ccbc3af20d825edacfd12b5da8ded8d240 /FICS/get_tcp_conn.h |
FICS 1.6.2
Diffstat (limited to 'FICS/get_tcp_conn.h')
-rw-r--r-- | FICS/get_tcp_conn.h | 13 |
1 files changed, 13 insertions, 0 deletions
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(); |