1
0
mirror of https://github.com/lxsang/ant-http synced 2024-07-03 13:39:46 +02:00

node daemon ex

This commit is contained in:
lxsang 2017-06-05 19:14:17 +02:00
parent 4ff6338e72
commit e07e91ac9c

View File

@ -22,7 +22,7 @@ struct master_conf_t mconfig;
call __init__ = init;
char* get_ip_address()
/*char* get_ip_address()
{
struct ifaddrs* addrs;
getifaddrs(&addrs);
@ -41,7 +41,7 @@ char* get_ip_address()
}
freeifaddrs(addrs);
return "127.0.0.1";
}
}*/
int inform_master()
{
int sockfd;