Git Product home page Git Product logo

libwsk's Introduction

libwsk

Actions Status LICENSE Windows Visual Studio

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

IDE:Visual Studio 2019 or higher

if target OS is Windows7, please set these.

libwsk property pages -> Driver Settings -> Target OS Version = Windows 7
libwsk Property pages -> Driver Settings -> Target Platform   = Desktop
  1. git clone --recurse-submodules https://github.com/MiroKaku/libwsk.git
  2. Open the msvc/libwsk.sln and build it.
  3. Include libwsk.lib to your project. refer unittest.

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

libwsk's People

Contributors

fengjixuchui avatar mirokaku avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.