Check out http://msdn.microsoft.com/en-us/library/bb513665(VS.85).aspx :
Dual stack connectors
To support both IPv4 and IPv6 in Windows XP Service Pack 1 (SP1) and Windows Server 2003, the application must create two sockets, one socket for use with IPv4 and one socket for use with IPv6 . These two sockets must be handled separately by the application.
Windows Vista IPv6, IPv6, IPv4. , TCP IPv6 , 5001. TCP- IPv6, 5001, TCP- IPv4, 5001. , .