aboutsummaryrefslogtreecommitdiffstats
path: root/tcp.h
blob: 963ab837f6ab96504faa055a9d36172ec6fdac69 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <sys/un.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <netdb.h>

extern int tcp_verbose;

int tcp_connect(struct addrinfo *ai,
		char *addr, char *port,
		char *host, char *serv);

int tcp_listen(struct addrinfo *ai, char *addr, char *port);

int unix_connect(char *path);
int pipe_connect(char *path);