Musa.libwsk
1.0.1
Requires NuGet 2.5 or higher.
dotnet add package Musa.libwsk --version 1.0.1
NuGet\Install-Package Musa.libwsk -Version 1.0.1
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Musa.libwsk" Version="1.0.1" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
<PackageVersion Include="Musa.libwsk" Version="1.0.1" />
<PackageReference Include="Musa.libwsk" />
For projects that support Central Package Management (CPM), copy this XML node into the solution Directory.Packages.props file to version the package.
paket add Musa.libwsk --version 1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Musa.libwsk, 1.0.1"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
#:package Musa.libwsk@1.0.1
#:package directive can be used in C# file-based apps starting in .NET 10 preview 4. Copy this into a .cs file before any lines of code to reference the package.
#addin nuget:?package=Musa.libwsk&version=1.0.1
#tool nuget:?package=Musa.libwsk&version=1.0.1
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
libwsk
About
libwsk is a wrapper for the WSK (Winsock-Kernel) interface. With libwsk, kernel-mode software modules can perform network I/O operations using the same socket programming concepts and interface that are supported by user-mode Winsock2.
Build and used
Windows 10 or higher
Right click on the project, select "Manage NuGet Packages".
Search for Musa.libwsk, choose the version that suits you, and then click "Install".
Windows 7
- First modify the settings:
libwsk property pages -> Driver Settings -> Target OS Version = Windows 7
libwsk Property pages -> Driver Settings -> Target Platform = Desktop
- Call BuildAllTargets.cmd
Supported progress
| BSD sockets | WSA (Windows Sockets API) | WSK (Windows Sockets Kernel) | State |
|---|---|---|---|
| - | WSKStartup | √ | |
| - | WSKCleanup | √ | |
| socket | WSKSocket | √ | |
| closesocket | WSKCloseSocket | √ | |
| bind | - | WSKBind | √ |
| listen | - | WSKListen | √ |
| connect | WSKConnect | √ | |
| shutdown | WSKDisconnect | √ | |
| accept | WSKAccept | √ | |
| send | WSKSend | √ | |
| recv | WSKRecv | √ | |
| sendto | WSKSendTo | √ | |
| recvfrom | WSKRecvFrom | √ | |
| ioctlsocket | WSKIoctl | √ | |
| setsockopt | - | WSKSetSocketOpt | √ |
| getsockopt | - | WSKGetSocketOpt | √ |
| getaddrinfo | WSKGetAddrInfo | √ | |
| freeaddrinfo | WSKFreeAddrInfo | √ | |
| getnameinfo | WSKGetNameInfo | √ | |
| inet_ntoa | WSKAddressToString | √ | |
| inet_addr | WSKStringToAddress | √ | |
| - | WSKCreateEvent | √ | |
| - | WSKGetOverlappedResult | √ | |
| ... | ... | ... | - |
Reference
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| native | native is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
- YY.NuGet.Import.Helper (>= 1.0.1)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
docs: fix readme