info.host
This commit is contained in:
1 parent
3084c922a8
commit
5d59494a94
1 file changed
+1
@@ -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;
|
||||
|
||||
|
||||
Reference in new issue
Block a user