I\'ve got a little udp example program written using ipv4. If I alter the code to ipv6 would I still be able to communicate with anyone using the listener with an ipv4 address?
IPv4 and IPv6 are inherently incompatible with each other.
A few basic reasons:
The obvious result of these is that if you open an IPv6 socket you can't listen to it using an IPv4 socket.