CodingReported in a candidate post, Jan 2021
Check valid IP address and convert IPv4 to IPv6
Filed under AppViewX
The question
Write code to check if a given string is a valid IPv4 or IPv6 address, and explain how to convert an IPv4 address to an IPv6 address.
No write-up yet. Related questions below have one.
Related AppViewX questions
Collected from public candidate posts and coding forums. Updated Nov 2026.