exitmap
exitmap copied to clipboard
add IPv6 support to resolve function
This change evaluates whether the response to the resolve SOCKS command contains an IPv4 (ATYP=01) or IPv6 (ATYP=04) address and reads as many bytes as necessary.
It also fixes a typo in the comment.