rsgit /mingw-w64-ksocketA hyper-hyperfast web frontend for git repositories written in Rust.

Windows Kernel <-> User mode socket communication made for "Mingw64 Driver Plus Plus".

Latest commits
CommitMessageAuthorDate
79f2c4eb66Added sanity checks for KSocket class.Toni Uhlig2 years ago
0cbfbe1299Added C++ (`ksocket/ksocket.hpp`) Socket wrapper classes.Toni Uhlig2 years ago
37d1e657e5Makefile cosmetics and example protobuffer recreated with a newer protoc-c executable.Toni Uhlig3 years ago
0883ee7ce7Added flatcc (C flatbuffers implementation).Toni Uhlig3 years ago
b31e4bc16dMerge commit '5a40295c4cf0af5ea8da9ced04a4ce7d3621a080' as 'flatcc'Toni Uhlig3 years ago

→ full history

Branches
NameTargetSubjectDate
main79f2c4eb66Added sanity checks for KSocket class.2 years ago
add/cryptoaa83760418Add crypto sources for future use.3 years ago
README

Mingw64 Kernel Sockets

Requires mingw-w64-dpp and Windows 10. Windows 11 may or may not work, not tested yet.

Did you ever ask yourself the question: how-the-hell can I open a socket in kernel mode with a Mingw-w64 compiled driver? Well, this is the solution. mingw-w64-ksocket simplifies the use of stream/datagram client/server sockets. The API is similiar to the BSD socket API. Greetings to KSOCKET for this sweet approach.

Compatible with C and C++ drivers.

HowTo

Build it:

make DPP_ROOT="[path-to-mingw-w64-dpp-template-dir]" all

To install & (self-)sign the driver:

make DPP_ROOT="[path-to-mingw-w64-dpp-template-dir]" DESTDIR="[path-to-install-dir]" install

The directory [path-to-install-dir] should now contain three new files:

Start *.bat as Administrator.

If everything works fine, there should be a text displayed in userspace_client.exe / userspace_client_protobuf.exe console window, received from the driver.

For more debug output, it is recommended to use a debugger or log viewer like dbgview.