uWebSockets
uWebSockets copied to clipboard
check the prefix convert ip6 back to ip4 if ip is ip4
check the prefix convert ip6 back to ip4 if ip is ip4。 getRemoteAddressAsText() will return ip6 address event ip is ip4. test 127.0.0.1 be convert to 0000:0000:0000:0000:0000:ffff:7f00:0001 test 192.168.71.87 be convert to 0000:0000:0000:0000:0000:ffff:c0a8:4757
the above will convert ip6 to ip4 if the address is ip4. and fix the issues.