On Tue, Jan 11, 2011 at 1:46 PM, Philip Prindeville <philipp_subx@redfish-solutions.com> wrote:
so how can I tell in a couple of lines of code if the connection will result in IPv4?

I'm not entirely sure what you're talking about.  What software are you attempting to patch, for example?  But anyway, is the IN6_IS_ADDR_V4MAPPED macro in <netinet/in.h> what you are looking for?
--
Jerry James
http://www.jamezone.org/