Add TCP ping

This commit is contained in:
Nick Peng
2018-06-10 00:29:07 +08:00
parent b05dd784bc
commit ec83f75582
9 changed files with 898 additions and 686 deletions

2
conf.h
View File

@@ -17,7 +17,7 @@ struct dns_servers {
dns_conf_server_type_t type;
};
extern int dns_conf_port;
extern char dns_conf_server_ip[DNS_MAX_IPLEN];
extern int dns_conf_cachesize;
extern struct dns_servers dns_conf_servers[DNS_MAX_SERVERS];
extern int dns_conf_server_num;