aboutsummaryrefslogtreecommitdiffstats
path: root/FICS/get_tcp_conn.h
blob: 01320ae305205d9a440285b37893216c8e6a497f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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();