Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM structure

The HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM structure is used to specify an IP address to be added to or deleted from the list of IP addresses to which the HTTP service binds.

Syntax


typedef struct _HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM {
  USHORT    AddrLength;
  PSOCKADDR pAddress;
} HTTP_SERVICE_CONFIG_IP_LISTEN_PARAM, *PHTTP_SERVICE_CONFIG_IP_LISTEN_PARAM;

Members

AddrLength

The size, in bytes, of the address pointed to by pAddress.

pAddress

A pointer to an Internet Protocol (IP) address to be added to or deleted from the listen list.

To specify an IPv6 address, use a SOCKADDR_IN6 structure, declared in the Ws2tcpip.h header file, and cast its address to a PSOCKADDR when you use it to set the pAddress member. The sin_family member of the SOCKADDR_IN6 should be set to AF_INET6.

If the sin_addr field in SOCKADDR_IN6 structure is set to 0.0.0.0, it means to bind to all IPv4 addresses. If the sin6_addr field in SOCKADDR_IN6 is set to [::], it means to bind to all IPv6 addresses.

Requirements

Minimum supported client

Windows Vista, Windows XP with SP2 [desktop apps only]

Minimum supported server

Windows Server 2003 [desktop apps only]

Header

Http.h

See also

HttpSetServiceConfiguration
HttpDeleteServiceConfiguration

 

 

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.