Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Important This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here.

CSocketAddr Class

This class provides methods for converting host names to host addresses, supporting both IPv4 and IPV6 formats.

class CSocketAddr

This class provides an IP version agnostic approach for looking up network addresses for use with Windows sockets API functions and socket wrappers in libraries.

The members of this class that are used to look up network addresses use the Win32 API function getaddrinfo.

This class supports both IPv4 andIPv6 network addresses.

Header: atlsocket.h

Community Additions

© 2015 Microsoft