diff --git a/PInvoke/Ws2_32/WinSock2.WSA.cs b/PInvoke/Ws2_32/WinSock2.WSA.cs index 077db33c..8e3f26c8 100644 --- a/PInvoke/Ws2_32/WinSock2.WSA.cs +++ b/PInvoke/Ws2_32/WinSock2.WSA.cs @@ -275,6 +275,7 @@ namespace Vanara.PInvoke /// Normal data may be written without blocking. POLLOUT = (POLLWRNORM), + /// POLLWRBAND = 0x0020, /// An error has occurred. @@ -2824,8 +2825,8 @@ namespace Vanara.PInvoke /// Engineering Task Force (IETF) as the default port used by web servers for the HTTP protocol. Possible values for the servicename /// parameter when a port number is not specified are listed in the following file: /// + /// %WINDIR%\system32\drivers\etc\services /// - /// /// /// On input, a pointer to the size, in bytes, of the LocalAddress buffer provided by the caller. On output, a pointer to the size, /// in bytes, of the SOCKADDR for the local address stored in the LocalAddress buffer filled in by the system upon successful diff --git a/PInvoke/Ws2_32/ws2def.cs b/PInvoke/Ws2_32/ws2def.cs index 8d2edca5..f2fa65ee 100644 --- a/PInvoke/Ws2_32/ws2def.cs +++ b/PInvoke/Ws2_32/ws2def.cs @@ -154,6 +154,10 @@ namespace Vanara.PInvoke ScopeLevelCount = 16 } + /// + /// The addrinfoex2 structure is used by the GetAddrInfoEx function to hold host address information when both a canonical name and + /// a fully qualified domain name have been requested. + /// // https://docs.microsoft.com/en-us/windows/win32/api/ws2def/ns-ws2def-addrinfoex2w typedef struct addrinfoex2W { int ai_flags; int // ai_family; int ai_socktype; int ai_protocol; size_t ai_addrlen; PWSTR ai_canonname; struct sockaddr *ai_addr; void *ai_blob; // size_t ai_bloblen; LPGUID ai_provider; struct addrinfoex2W *ai_next; int ai_version; PWSTR ai_fqdn; } ADDRINFOEX2W,