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" />
                    
Directory.Packages.props
<PackageReference Include="Musa.libwsk" />
                    
Project file
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
                    
#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.
#addin nuget:?package=Musa.libwsk&version=1.0.1
                    
Install Musa.libwsk as a Cake Addin
#tool nuget:?package=Musa.libwsk&version=1.0.1
                    
Install Musa.libwsk as a Cake Tool

libwsk

Actions Status LICENSE Windows Visual Studio Downloads

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

  1. First modify the settings:
libwsk property pages -> Driver Settings -> Target OS Version = Windows 7
libwsk Property pages -> Driver Settings -> Target Platform   = Desktop
  1. Call BuildAllTargets.cmd

Supported progress

BSD sockets WSA (Windows Sockets API) WSK (Windows Sockets Kernel) State
- WSAStartup WSKStartup
- WSACleanup WSKCleanup
socket WSASocket WSKSocket
closesocket WSASocket WSKCloseSocket
bind - WSKBind
listen - WSKListen
connect WSAConnect WSKConnect
shutdown WSA[Recv/Send]Disconnect WSKDisconnect
accept WSAAccept WSKAccept
send WSASend WSKSend
recv WSARecv WSKRecv
sendto WSASendTo WSKSendTo
recvfrom WSARecvFrom WSKRecvFrom
ioctlsocket WSAIoctl WSKIoctl
setsockopt - WSKSetSocketOpt
getsockopt - WSKGetSocketOpt
getaddrinfo GetAddrInfoEx WSKGetAddrInfo
freeaddrinfo FreeAddrInfoEx WSKFreeAddrInfo
getnameinfo GetNameInfo WSKGetNameInfo
inet_ntoa WSAAddressToString WSKAddressToString
inet_addr WSAStringToAddress WSKStringToAddress
- WSACreateEvent WSKCreateEvent
- WSAGetOverlappedResult WSKGetOverlappedResult
... ... ... -

Reference

Product 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.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version Downloads Last updated
1.0.1 102 1/27/2025
1.0.0 93 1/25/2025

docs: fix readme