info.host

This commit is contained in:
2018-09-02 21:04:50 +02:00
parent 3084c922a8
commit 5d59494a94

View File

@ -64,6 +64,7 @@ IpAddressInfo get_ip_address_info(Address* addr) {
char hostbuffer[1024];
memset(hostbuffer, 0, 1024);
size_t size = fread(hostbuffer, 1, 1024, name);
printf("%s\n", hostbuffer);
istringstream buffer(hostbuffer);
string line;