Vanara.PInvoke.Ws2_32
4.0.4
Prefix Reserved
dotnet add package Vanara.PInvoke.Ws2_32 --version 4.0.4
NuGet\Install-Package Vanara.PInvoke.Ws2_32 -Version 4.0.4
<PackageReference Include="Vanara.PInvoke.Ws2_32" Version="4.0.4" />
paket add Vanara.PInvoke.Ws2_32 --version 4.0.4
#r "nuget: Vanara.PInvoke.Ws2_32, 4.0.4"
// Install Vanara.PInvoke.Ws2_32 as a Cake Addin #addin nuget:?package=Vanara.PInvoke.Ws2_32&version=4.0.4 // Install Vanara.PInvoke.Ws2_32 as a Cake Tool #tool nuget:?package=Vanara.PInvoke.Ws2_32&version=4.0.4
Vanara.PInvoke.Ws2_32 NuGet Package
PInvoke API (methods, structures and constants) for WinSock and WinSock2 imported from Windows Ws2_32.dll.
What is Vanara?
Vanara is a community project that contains various .NET assemblies which have P/Invoke functions, interfaces, enums and structures from Windows libraries. Each assembly is associated with one or a few tightly related libraries.
Issues?
First check if it's already fixed by trying the AppVeyor build. If you're still running into problems, file an issue.
Included in Vanara.PInvoke.Ws2_32
Functions | Enumerations | Structures |
---|---|---|
__WSAFDIsSet accept AcceptEx bind closesocket connect FreeAddrInfoExW FreeAddrInfoW GetAcceptExSockaddrs GetAddrInfoExCancel GetAddrInfoExOverlappedResult GetAddrInfoExW GetAddrInfoW gethostname GetHostNameW GetNameInfoW getpeername getprotobyname getprotobynumber getservbyname getservbyport getsockname getsockopt htonl htons inet_addr inet_ntoa inet_ntop inet_pton InetNtopW InetPtonW ioctlsocket listen ntohl ntohs ProcessSocketNotifications recv recvfrom select send sendto SetAddrInfoEx setsockopt shutdown socket TransmitFile WPUCompleteOverlappedRequest WSAAccept WSAAddressToString WSAAdvertiseProvider WSAAsyncGetHostByAddr WSAAsyncGetHostByName WSAAsyncGetProtoByName WSAAsyncGetProtoByNumber WSAAsyncGetServByName WSAAsyncGetServByPort WSAAsyncSelect WSACancelAsyncRequest WSACleanup WSACloseEvent WSAConnect WSAConnectByList WSAConnectByName WSACreateEvent WSADuplicateSocket WSAEnumNameSpaceProviders WSAEnumNameSpaceProvidersEx WSAEnumNetworkEvents WSAEnumProtocols WSAEventSelect WSAGetLastError WSAGetOverlappedResult WSAGetQOSByName WSAGetServiceClassInfo WSAGetServiceClassNameByClassId WSAHtonl WSAHtons WSAInstallServiceClass WSAIoctl WSAJoinLeaf WSALookupServiceBegin WSALookupServiceEnd WSALookupServiceNext WSANSPIoctl WSANtohl WSANtohs WSAPoll WSAProviderCompleteAsyncCall WSAProviderConfigChange WSARecv WSARecvDisconnect WSARecvEx WSARecvFrom WSARemoveServiceClass WSAResetEvent WSASend WSASendDisconnect WSASendMsg WSASendTo WSASetEvent WSASetLastError WSASetService WSASocket WSAStartup WSAStringToAddress WSAUnadvertiseProvider WSAWaitForMultipleEvents WSCDeinstallProvider WSCDeinstallProvider32 WSCEnableNSProvider WSCEnableNSProvider32 WSCEnumNameSpaceProviders32 WSCEnumNameSpaceProvidersEx32 WSCEnumProtocols WSCEnumProtocols32 WSCGetApplicationCategory WSCGetProviderInfo WSCGetProviderInfo32 WSCGetProviderPath WSCGetProviderPath32 WSCInstallNameSpace WSCInstallNameSpace32 WSCInstallNameSpaceEx WSCInstallNameSpaceEx32 WSCInstallProvider WSCInstallProvider64_32 WSCInstallProviderAndChains64_32 WSCSetApplicationCategory WSCSetProviderInfo WSCSetProviderInfo32 WSCUnInstallNameSpace WSCUnInstallNameSpace32 WSCUpdateProvider WSCUpdateProvider32 WSCWriteNameSpaceOrder WSCWriteNameSpaceOrder32 WSCWriteProviderOrder WSCWriteProviderOrder32 | CONTROL_CHANNEL_TRIGGER_STATUS SOCKET_INFO_CONNECTION SOCKET_SECURITY_PROTOCOL SOCKET_SETTINGS SOCKET_SETTINGS_IPSEC SOCKET_USAGE_TYPE TCPSTATE TIMESTAMPING_FLAG RIO_NOTIFICATION_COMPLETION_TYPE TF TP_ELEMENT RIO_MSG SERVICETYPE ADDRESS_FAMILY CF GROUP NetworkByteOrder NS PFL SOCK SOCK_NOTIFY_EVENT SOCK_NOTIFY_OP SOCK_NOTIFY_REGISTER_EVENT SOCK_NOTIFY_TRIGGER WSAECOMPARATOR WSAESETSERVICEOP XP1 SD FD JL LUP MsgFlags PollFlags ServiceInstallFlags WSA_FLAG WSACOMPLETIONTYPE ADDRINFO_FLAGS IPPROTO NI SCOPE_LEVEL IPV6 MULTICAST_MODE_TYPE WSC_PROVIDER_INFO_TYPE | ASSOCIATE_NAMERES_CONTEXT_INPUT INET_PORT_RANGE INET_PORT_RESERVATION_INSTANCE INET_PORT_RESERVATION_TOKEN REAL_TIME_NOTIFICATION_SETTING_INPUT REAL_TIME_NOTIFICATION_SETTING_OUTPUT SOCKET_PEER_TARGET_NAME SOCKET_SECURITY_QUERY_INFO SOCKET_SECURITY_QUERY_TEMPLATE SOCKET_SECURITY_SETTINGS SOCKET_SECURITY_SETTINGS_IPSEC TCP_INFO_v0 TCP_INFO_v1 TCP_INITIAL_RTO_PARAMETERS tcp_keepalive TIMESTAMPING_CONFIG TRANSPORT_SETTING_ID RIO_EXTENSION_FUNCTION_TABLE RIO_NOTIFICATION_COMPLETION TRANSMIT_FILE_BUFFERS TRANSMIT_PACKETS_ELEMENT RIO_BUF RIORESULT FLOWSPEC CSADDR_INFO IN_ADDR IN6_ADDR LINGER QOS SOCK_NOTIFY_REGISTRATION SOCKET TIMEVAL WSADATA WSAPROTOCOL_INFO WSAPROTOCOLCHAIN PROTOENT SERVENT WSRESULT fd_set WSANETWORKEVENTS WSANSCLASSINFO WSAPOLLFD WSAQUERYSET WSAQUERYSET_MGD WSASERVICECLASSINFO ADDRINFOEX2W ADDRINFOEXW ADDRINFOW SCOPE_ID SOCKADDR_IN SOCKADDR_STORAGE SOCKET_ADDRESS SOCKET_ADDRESS_LIST SOCKET_PROCESSOR_AFFINITY WSABUF WSACMSGHDR WSAMSG GROUP_FILTER IN_PKTINFO IN6_PKTINFO IP_MREQ IP_MSFILTER IPV6_MREQ SOCKADDR_IN6 SOCKADDR_IN6_PAIR SOCKADDR_IN6_PAIR_NATIVE SOCKADDR_INET AFPROTOCOLS BLOB NSPV2_ROUTINE WSAEVENT WSANAMESPACE_INFOEXW WSANAMESPACE_INFOW WSAOVERLAPPED WSAPROTOCOL_INFOW WSAQUERYSET2W WSAVERSION UNION EVENT IOCP WINDOWMESSAGE EVENT APC PORT |
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net5.0 is compatible. net5.0-windows was computed. net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 is compatible. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 was computed. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net8.0-windows7.0 is compatible. |
.NET Core | netcoreapp2.0 was computed. netcoreapp2.1 was computed. netcoreapp2.2 was computed. netcoreapp3.0 was computed. netcoreapp3.1 is compatible. |
.NET Standard | netstandard2.0 is compatible. netstandard2.1 was computed. |
.NET Framework | net45 is compatible. net451 was computed. net452 was computed. net46 was computed. net461 was computed. net462 was computed. net463 was computed. net47 was computed. net471 was computed. net472 was computed. net48 is compatible. net481 was computed. |
MonoAndroid | monoandroid was computed. |
MonoMac | monomac was computed. |
MonoTouch | monotouch was computed. |
Tizen | tizen40 was computed. tizen60 was computed. |
Xamarin.iOS | xamarinios was computed. |
Xamarin.Mac | xamarinmac was computed. |
Xamarin.TVOS | xamarintvos was computed. |
Xamarin.WatchOS | xamarinwatchos was computed. |
-
.NETCoreApp 3.1
- Vanara.Core (>= 4.0.4)
- Vanara.PInvoke.Kernel32 (>= 4.0.4)
- Vanara.PInvoke.Shared (>= 4.0.4)
-
.NETFramework 4.5
- Vanara.Core (>= 4.0.4)
- Vanara.PInvoke.Kernel32 (>= 4.0.4)
- Vanara.PInvoke.Shared (>= 4.0.4)
-
.NETFramework 4.8
- Vanara.Core (>= 4.0.4)
- Vanara.PInvoke.Kernel32 (>= 4.0.4)
- Vanara.PInvoke.Shared (>= 4.0.4)
-
.NETStandard 2.0
- Vanara.Core (>= 4.0.4)
- Vanara.PInvoke.Kernel32 (>= 4.0.4)
- Vanara.PInvoke.Shared (>= 4.0.4)
-
net5.0
- Vanara.Core (>= 4.0.4)
- Vanara.PInvoke.Kernel32 (>= 4.0.4)
- Vanara.PInvoke.Shared (>= 4.0.4)
-
net6.0
- Vanara.Core (>= 4.0.4)
- Vanara.PInvoke.Kernel32 (>= 4.0.4)
- Vanara.PInvoke.Shared (>= 4.0.4)
-
net7.0
- Vanara.Core (>= 4.0.4)
- Vanara.PInvoke.Kernel32 (>= 4.0.4)
- Vanara.PInvoke.Shared (>= 4.0.4)
-
net8.0-windows7.0
- Vanara.Core (>= 4.0.4)
- Vanara.PInvoke.Kernel32 (>= 4.0.4)
- Vanara.PInvoke.Shared (>= 4.0.4)
NuGet packages (12)
Showing the top 5 NuGet packages that depend on Vanara.PInvoke.Ws2_32:
Package | Downloads |
---|---|
Vanara.PInvoke.IpHlpApi
PInvoke API (methods, structures and constants) imported from Windows IpHlpApi.dll. |
|
Vanara.PInvoke.NetApi32
PInvoke API (methods, structures and constants) imported from Windows NetApi32.dll. |
|
Vanara.PInvoke.DnsApi
PInvoke API (methods, structures and constants imported from Windows DnsApi.dll. |
|
Vanara.Library
The full set of packages associated with the Vanara PInvoke Libraries. |
|
Vanara.PInvoke.Drt
PInvoke API (methods, structures and constants) imported from Windows Drt.dll for the Distributed Routing Table (DRT) API. |
GitHub repositories (1)
Showing the top 1 popular GitHub repositories that depend on Vanara.PInvoke.Ws2_32:
Repository | Stars |
---|---|
jexuswebserver/JexusManager
Jexus Manager http://jexusmanager.com
|
Version | Downloads | Last updated |
---|---|---|
4.0.4 | 1,876 | 9/13/2024 |
4.0.3 | 805 | 8/5/2024 |
4.0.2 | 816 | 6/24/2024 |
4.0.1 | 1,747 | 4/30/2024 |
4.0.0 | 857 | 3/29/2024 |
4.0.0-beta2 | 787 | 1/22/2024 |
4.0.0-beta | 889 | 11/20/2023 |
3.4.17 | 5,704 | 10/18/2023 |
3.4.16 | 3,422 | 8/7/2023 |
3.4.15 | 3,097 | 5/18/2023 |
3.4.14 | 3,084 | 4/15/2023 |
3.4.13 | 5,373 | 2/4/2023 |
3.4.12 | 4,890 | 1/15/2023 |
3.4.11 | 5,824 | 11/15/2022 |
3.4.10 | 4,386 | 10/25/2022 |
3.4.9 | 4,705 | 10/3/2022 |
3.4.8 | 4,473 | 9/16/2022 |
3.4.7 | 4,100 | 9/3/2022 |
3.4.6 | 5,816 | 8/7/2022 |
3.4.5 | 8,504 | 7/17/2022 |
3.4.4 | 4,597 | 7/5/2022 |
3.4.3 | 3,656 | 6/14/2022 |
3.4.2 | 4,284 | 5/13/2022 |
3.4.1 | 3,627 | 5/5/2022 |
3.4.0 | 4,528 | 3/14/2022 |
3.3.15 | 11,550 | 12/27/2021 |
3.3.14 | 4,241 | 10/26/2021 |
3.3.13 | 2,545 | 9/30/2021 |
3.3.12 | 2,848 | 8/30/2021 |
3.3.11 | 8,761 | 7/22/2021 |
3.3.10 | 4,828 | 6/4/2021 |
3.3.9 | 3,145 | 5/7/2021 |
3.3.8 | 3,886 | 4/7/2021 |
3.3.7 | 3,244 | 3/24/2021 |
3.3.6 | 2,688 | 3/19/2021 |
3.3.5 | 3,123 | 3/1/2021 |
3.3.4 | 2,657 | 2/11/2021 |
3.3.3 | 2,050 | 2/3/2021 |
3.3.2 | 2,300 | 1/21/2021 |
3.3.1 | 2,124 | 1/20/2021 |
3.3.0 | 3,421 | 11/20/2020 |
3.2.21 | 2,164 | 11/13/2020 |
3.2.20 | 5,015 | 11/8/2020 |
3.2.19 | 6,113 | 10/23/2020 |
3.2.18 | 2,202 | 10/21/2020 |
3.2.17 | 3,943 | 9/20/2020 |
3.2.16 | 2,634 | 9/7/2020 |
3.2.15 | 2,159 | 8/30/2020 |
3.2.14 | 1,954 | 8/20/2020 |
3.2.13 | 1,872 | 7/27/2020 |
3.2.12 | 1,871 | 7/13/2020 |
3.2.11 | 1,936 | 6/28/2020 |
3.2.10 | 3,026 | 6/14/2020 |
3.2.9 | 1,972 | 6/3/2020 |
3.2.7 | 2,379 | 5/4/2020 |
3.2.6 | 2,050 | 4/21/2020 |
3.2.5 | 2,021 | 4/15/2020 |
3.2.4 | 2,082 | 4/12/2020 |
3.2.3 | 1,797 | 4/1/2020 |
3.2.2 | 1,761 | 3/24/2020 |
3.2.1 | 1,733 | 3/17/2020 |
3.2.0 | 1,954 | 2/27/2020 |
3.1.9 | 1,839 | 1/17/2020 |
3.1.8 | 1,803 | 1/13/2020 |
3.1.7 | 1,785 | 1/6/2020 |
3.1.6 | 1,712 | 12/12/2019 |
3.1.5 | 1,893 | 11/26/2019 |
3.1.4 | 1,790 | 11/25/2019 |
3.1.3 | 1,870 | 11/8/2019 |
3.1.2 | 1,747 | 11/4/2019 |
3.1.1 | 2,083 | 10/17/2019 |
3.1.0 | 1,732 | 10/3/2019 |
3.0.1 | 1,833 | 9/20/2019 |
3.0.0 | 1,715 | 8/27/2019 |
2.3.11 | 1,940 | 6/9/2019 |
2.3.10 | 1,693 | 6/5/2019 |
2.3.9 | 1,652 | 5/26/2019 |
2.3.8 | 1,678 | 5/13/2019 |
2.3.7 | 2,157 | 4/24/2019 |
2.3.6 | 1,642 | 4/17/2019 |
2.3.5 | 1,610 | 4/10/2019 |
2.3.4 | 1,663 | 3/9/2019 |
2.3.3 | 1,639 | 3/8/2019 |
2.3.2 | 1,670 | 2/28/2019 |
2.3.1 | 1,618 | 2/25/2019 |
2.3.0 | 1,618 | 2/22/2019 |
2.2.1 | 1,698 | 2/12/2019 |
2.2.0 | 1,636 | 2/1/2019 |
2.1.2 | 1,908 | 1/14/2019 |
2.1.0 | 1,851 | 12/15/2018 |
2.0.1 | 1,729 | 12/7/2018 |
2.0.0 | 1,800 | 11/28/2018 |
Currently implements:
Functions
accept AcceptEx bind closesocket connect FreeAddrInfoExW FreeAddrInfoW GetAcceptExSockaddrs GetAddrInfoExCancel GetAddrInfoExOverlappedResult GetAddrInfoExW GetAddrInfoW gethostname GetHostNameW GetNameInfoW getpeername getprotobyname getprotobynumber getservbyname getservbyport getsockname getsockopt htonl htons InetNtopW InetPtonW inet_addr inet_ntoa inet_ntop inet_pton ioctlsocket listen ntohl ntohs ProcessSocketNotifications recv recvfrom select send sendto SetAddrInfoEx setsockopt shutdown socket TransmitFile WPUCompleteOverlappedRequest WSAAccept WSAAddressToString WSAAdvertiseProvider WSAAsyncGetHostByAddr WSAAsyncGetHostByName WSAAsyncGetProtoByName WSAAsyncGetProtoByNumber WSAAsyncGetServByName WSAAsyncGetServByPort WSAAsyncSelect WSACancelAsyncRequest WSACleanup WSACloseEvent WSAConnect WSAConnectByList WSAConnectByName WSACreateEvent WSADuplicateSocket WSAEnumNameSpaceProviders WSAEnumNameSpaceProvidersEx WSAEnumNetworkEvents WSAEnumProtocols WSAEventSelect WSAGetLastError WSAGetOverlappedResult WSAGetQOSByName WSAGetServiceClassInfo WSAGetServiceClassNameByClassId WSAHtonl WSAHtons WSAInstallServiceClass WSAIoctl WSAJoinLeaf WSALookupServiceBegin WSALookupServiceEnd WSALookupServiceNext WSANSPIoctl WSANtohl WSANtohs WSAPoll WSAProviderCompleteAsyncCall WSAProviderConfigChange WSARecv WSARecvDisconnect WSARecvEx WSARecvFrom WSARemoveServiceClass WSAResetEvent WSASend WSASendDisconnect WSASendMsg WSASendTo WSASetEvent WSASetLastError WSASetService WSASocket WSAStartup WSAStringToAddress WSAUnadvertiseProvider WSAWaitForMultipleEvents WSCDeinstallProvider WSCDeinstallProvider32 WSCEnableNSProvider WSCEnableNSProvider32 WSCEnumNameSpaceProviders32 WSCEnumNameSpaceProvidersEx32 WSCEnumProtocols WSCEnumProtocols32 WSCGetApplicationCategory WSCGetProviderInfo WSCGetProviderInfo32 WSCGetProviderPath WSCGetProviderPath32 WSCInstallNameSpace WSCInstallNameSpace32 WSCInstallNameSpaceEx WSCInstallNameSpaceEx32 WSCInstallProvider WSCInstallProvider64_32 WSCInstallProviderAndChains64_32 WSCSetApplicationCategory WSCSetProviderInfo WSCSetProviderInfo32 WSCUnInstallNameSpace WSCUnInstallNameSpace32 WSCUpdateProvider WSCUpdateProvider32 WSCWriteNameSpaceOrder WSCWriteNameSpaceOrder32 WSCWriteProviderOrder WSCWriteProviderOrder32 __WSAFDIsSet
Structures
ADDRINFOEX2W ADDRINFOEXW ADDRINFOW AFPROTOCOLS APC ASSOCIATE_NAMERES_CONTEXT_INPUT BLOB CSADDR_INFO EVENT EVENT fd_set FLOWSPEC GROUP_FILTER IN6_ADDR IN6_PKTINFO INET_PORT_RANGE INET_PORT_RESERVATION_INSTANCE INET_PORT_RESERVATION_TOKEN IN_ADDR IN_PKTINFO IOCP IPV6_MREQ IP_MREQ IP_MSFILTER LINGER NSPV2_ROUTINE PORT PROTOENT QOS REAL_TIME_NOTIFICATION_SETTING_INPUT REAL_TIME_NOTIFICATION_SETTING_OUTPUT RIORESULT RIO_BUF RIO_EXTENSION_FUNCTION_TABLE RIO_NOTIFICATION_COMPLETION SCOPE_ID SERVENT SOCKADDR_IN SOCKADDR_IN6 SOCKADDR_IN6_PAIR SOCKADDR_IN6_PAIR_NATIVE SOCKADDR_INET SOCKADDR_STORAGE SOCKET SOCKET_ADDRESS SOCKET_ADDRESS_LIST SOCKET_PEER_TARGET_NAME SOCKET_PROCESSOR_AFFINITY SOCKET_SECURITY_QUERY_INFO SOCKET_SECURITY_QUERY_TEMPLATE SOCKET_SECURITY_SETTINGS SOCKET_SECURITY_SETTINGS_IPSEC SOCK_NOTIFY_REGISTRATION TCP_INFO_v0 TCP_INFO_v1 TCP_INITIAL_RTO_PARAMETERS tcp_keepalive TIMESTAMPING_CONFIG TIMEVAL TRANSMIT_FILE_BUFFERS TRANSMIT_PACKETS_ELEMENT TRANSPORT_SETTING_ID UNION WINDOWMESSAGE WSABUF WSACMSGHDR WSADATA WSAEVENT WSAMSG WSANAMESPACE_INFOEXW WSANAMESPACE_INFOW WSANETWORKEVENTS WSANSCLASSINFO WSAOVERLAPPED WSAPOLLFD WSAPROTOCOLCHAIN WSAPROTOCOL_INFO WSAPROTOCOL_INFOW WSAQUERYSET WSAQUERYSET2W WSAQUERYSET_MGD WSASERVICECLASSINFO WSAVERSION WSRESULT