Skip to content

Latest commit

 

History

History
80 lines (64 loc) · 3.22 KB

ns-http-http_transport_address.md

File metadata and controls

80 lines (64 loc) · 3.22 KB
UID title description helpviewer_keywords old-location tech.root ms.assetid ms.date ms.keywords req.header req.include-header req.target-type req.target-min-winverclnt req.target-min-winversvr req.kmdf-ver req.umdf-ver req.ddi-compliance req.unicode-ansi req.idl req.max-support req.namespace req.assembly req.type-library req.lib req.dll req.irql targetos req.typenames req.redist ms.custom f1_keywords dev_langs topic_type api_type api_location api_name
NS:http._HTTP_TRANSPORT_ADDRESS
HTTP_TRANSPORT_ADDRESS (http.h)
Specifies the addresses (local and remote) used for a particular HTTP connection.
*PHTTP_TRANSPORT_ADDRESS
HTTP_TRANSPORT_ADDRESS
HTTP_TRANSPORT_ADDRESS structure [HTTP]
PHTTP_TRANSPORT_ADDRESS
PHTTP_TRANSPORT_ADDRESS structure pointer [HTTP]
_http_http_transport_address
http.http_transport_address
http/HTTP_TRANSPORT_ADDRESS
http/PHTTP_TRANSPORT_ADDRESS
http\http_transport_address.htm
http
2dac2817-c911-4ca1-afb1-32147a16ad4c
12/05/2018
*PHTTP_TRANSPORT_ADDRESS, HTTP_TRANSPORT_ADDRESS, HTTP_TRANSPORT_ADDRESS structure [HTTP], PHTTP_TRANSPORT_ADDRESS, PHTTP_TRANSPORT_ADDRESS structure pointer [HTTP], _http_http_transport_address, http.http_transport_address, http/HTTP_TRANSPORT_ADDRESS, http/PHTTP_TRANSPORT_ADDRESS
http.h
Windows
Windows Vista, Windows XP with SP2 [desktop apps only]
Windows Server 2003 [desktop apps only]
Windows
HTTP_TRANSPORT_ADDRESS, *PHTTP_TRANSPORT_ADDRESS
19H1
_HTTP_TRANSPORT_ADDRESS
http/_HTTP_TRANSPORT_ADDRESS
PHTTP_TRANSPORT_ADDRESS
http/PHTTP_TRANSPORT_ADDRESS
HTTP_TRANSPORT_ADDRESS
http/HTTP_TRANSPORT_ADDRESS
c++
APIRef
kbSyntax
HeaderDef
Http.h
HTTP_TRANSPORT_ADDRESS

HTTP_TRANSPORT_ADDRESS structure

-description

The HTTP_TRANSPORT_ADDRESS structure specifies the addresses (local and remote) used for a particular HTTP connection.

-struct-fields

-field pRemoteAddress

A pointer to the remote IP address associated with this connection. For more information about how to access this address, see the Remarks section.

-field pLocalAddress

A pointer to the local IP address associated with this connection. For more information about how to access this address, see the Remarks section.

-remarks

Although the pRemoteAddress and pLocalAddress members are formally declared as PSOCKADDR, they are in fact PSOCKADDR_IN or PSOCKADDR_IN6 types. Inspect the sa_family member, which is the same in all three structures, to determine how to access the address. If sa_family is equal to AF_INET, then the address is in IPv4 form and can be accessed by casting the members to PSOCKADDR_IN, but if sa_family equals AF_INET6, the address is in IPv6 form and you must cast them to PSOCKADDR_IN6 before accessing the address. Both pLocalAddress and pRemoteAddress are always of the same type; that is they are either both of type PSOCKADDR_IN or both of type PSOCKADDR_IN6.

-see-also

HTTP Server API Version 1.0 Structures

HTTP_REQUEST