netLink
netLink copied to clipboard
Socket and Networking Library using msgpack.org[C++11]
Hi @Lichtso! It's been a long time! I still use your library! Thanks for this!! I am working in Microsoft Visual Studio 2019 environment. WINVER does not seem to work....
```C++ #include #include #include "../include/netLink.h" int main(int argc, char** argv) { #ifdef WINVER netLink::init(); #endif netLink::SocketManager socketManager; socketManager.onReceiveMsgPack = [](netLink::SocketManager* manager, std::shared_ptr socket, std::unique_ptr element) { auto& str = static_cast(*element.get());...
If a client is disconnected during the transfer progress, socket status will be BUSY. Socket::sync will not be able to write any data and should return EOF instead.
Notes: 1. Maybe something like: https://github.com/Cyan4973/lz4 (as proposed by DJuego) 2. Should be an optional dependency, extending the functionality of netLink when installed 3. Could be for the entire data...
linux socket like shell command audit ?