Yes, it's called "dual stack" mode. It's somewhat platform specific. If you're on linux and dual stacking is enabled, you can try binding to "[::]:0" (the ANY addr for ipv6), and it'll listen for IPv4 connects as well.
Yes, it's called "dual stack" mode. It's somewhat platform specific. If you're on linux and dual stacking is enabled, you can try binding to "[::]:0" (the ANY addr for ipv6), and it'll listen for IPv4 connects as well.