diff options
author | kraxel <kraxel> | 2007-08-08 16:00:20 +0000 |
---|---|---|
committer | kraxel <kraxel> | 2007-08-08 16:00:20 +0000 |
commit | 3a85ea7edc0cb352febcf1bc6ee242b672cf7965 (patch) | |
tree | 2d5b3b4b1070c58da7e0022efe82bf03d3eeb698 /tcp.h | |
download | amtterm-3a85ea7edc0cb352febcf1bc6ee242b672cf7965.tar.gz |
Initial revision
Diffstat (limited to 'tcp.h')
-rw-r--r-- | tcp.h | 11 |
1 files changed, 11 insertions, 0 deletions
@@ -0,0 +1,11 @@ +#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); |