The coolest networking library for C++
100% Complete and working.. I think... If you see a bug then create an issue. I doubt there are any bugs.
Simply include the mininet.hpp file :)
Basic TCP (No need to stop the mininet processes before ending the program, I just do it to demonstrate that it exists :] )
Server
#include "mininet.hpp"
#include <iostream>
#include <string.h>
int main()
{
TCPServer s(8080);
s.accept();
char buffer[1024] = { 0 };
memset(buffer,0,1024);
std::cout<<s.recv(0, buffer, sizeof(buffer))<<'\n'; //PRINT SIZE
std::cout << buffer << std::endl; //PRINT RECIEVED DATA
s.stop();
return 0;
}Client
#include "mininet.hpp"
int main()
{
TCPClient c("127.0.0.1", 8080);
c.send("Arigato senpai!", 15);
c.stop();
return 0;
}meow (this sneaky meow is added for readme structure reasons)

