Note
Access to this page requires authorization. You can try signing in or .
Access to this page requires authorization. You can try .
INTERNET_DIAGNOSTIC_SOCKET_INFO structure (wininet.h)
The INTERNET_DIAGNOSTIC_SOCKET_INFO structure is returned by the InternetQueryOption function when the INTERNET_OPTION_DIAGNOSTIC_SOCKET_INFO flag is passed to it together with a handle to an HTTP Request. The INTERNET_DIAGNOSTIC_SOCKET_INFO structure contains information about the socket associated with that HTTP Request.
Syntax
typedef struct {
DWORD_PTR Socket;
DWORD SourcePort;
DWORD DestPort;
DWORD Flags;
} INTERNET_DIAGNOSTIC_SOCKET_INFO, *LPINTERNET_DIAGNOSTIC_SOCKET_INFO;
Members
Socket
Descriptor that identifies the socket associated with the specified HTTP Request.
SourcePort
The address of the port at which the HTTP Request and response was received.
DestPort
The address of the port at which the response was sent.
Flags
| Value | Meaning |
|---|---|
|
Set if the connection is from the "keep-alive" pool. |
|
Set if the HTTP Request is using a secure socket. |
|
Set if a proxy is being used to reach the server. |
|
Set if a proxy is being used to create a tunnel. |
Remarks
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 2000 Professional [desktop apps only] |
| Minimum supported server | Windows 2000 Server [desktop apps only] |
| Header | wininet.h |
See also
Feedback
Was this page helpful?
