Socket programming code example written in C, only works in Windows.
git clone --recursive https://github.com/manucabral/winsock-example.git
cd winsock-exampleBuild in command line with make
makeRun server and client in two different terminals
make run_server ip=127.0.0.1 port=8888
make run_client ip=127.0.0.1 port=8888Compile using gcc
gcc windows_client.c -lws2_32 -o windows_client
gcc windows_server.c -lws2_32 -o windows_serverRun server and client in two diferent terminals
windows_client 127.0.0.1 8888
windows_server 127.0.0.1 8888