For Help join our discord server : https://discord.gg/3h5S2cSbm8
The documentation is in the source of the file
Download jmnet.hpp
Include it in your cpp file :
#define JMNET_IMPLEMENTATION
#include "jmnet.hpp"
Then you need to initialize jmnet using :
jmnet::Initiaize();
Lastly after everything is done you need to do clean up.
jmnet::Shutdown();
jmnet::TCPClient client; // Create the client
client.Connect(jmnet::Address("example.com", 80));
char data[4096];
client.Receive(data, sizeof(data));
std::cout << "Data : \n" << data << std::endl;
jnet::TCPServer server(80);
server.Listen();
jmnet::Socket* client = server.Accept();
std::string data = "Hello!";
client->Send(data);
Any support would be highly appretiated!
For example you could add a feature and contribute via pull requests or you could even report any issues with the program!
And the best thing you could do to support this project is spread word about this so that more people who might be interested in this may use this!
Please considering tweeting about this!