Support Delay DNS server bootstrap

This commit is contained in:
Nick Peng
2019-05-15 00:36:11 +08:00
parent 93d9ef4095
commit 1e88305df8
5 changed files with 285 additions and 102 deletions

View File

@@ -16,6 +16,8 @@ int getaddr_by_host(char *host, struct sockaddr *addr, socklen_t *addr_len);
int parse_ip(const char *value, char *ip, int *port);
int check_is_ipaddr(const char *ip);
int parse_uri(char *value, char *scheme, char *host, int *port, char *path);
int set_fd_nonblock(int fd, int nonblock);