Registry / networking / kissnet

kissnet

JSON →
library2024-01-20vcpkgunverified

Keep It Simple Stupid NETwork - C++17 wrapping of your OS's native socket API

vcpkg install kissnet
INSTALL
IMPORT
SIG · KISSNET
K
kissnet
networkingcppv2024-01-20
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

kissnet.hpp
#include <kissnet.hpp>

Connect to example.com:80, send an HTTP GET request, and print the response.

#include <kissnet.hpp> #include <iostream> int main() { kissnet::tcp_socket socket; socket.connect("example.com", 80); socket.send("GET / HTTP/1.1\r\nHost: example.com\r\n\r\n"); auto [data, size] = socket.recv(4096); std::cout.write(data.data(), size); return 0; }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2024-01-20latest on vcpkg
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources

No resource links recorded.

kissnet — pip install kissnet · libregistry