Closed RootKiller closed 2 years ago
Hi!
When calling enet_address_get_host_ip on ipv4 peer it returns the following string ::ffff:127.0.0.1
::ffff:127.0.0.1
This is because IPv4-mapped IPv6 addresses are used, it can be solved this way or by probing a string for ::ffff: characters and shrinking it by first 7 bytes.
::ffff:
Hi!
When calling enet_address_get_host_ip on ipv4 peer it returns the following string
::ffff:127.0.0.1