####Compiling: gcc -std=gnu99 -pedantic -Wall -Wextra -O2 -s -o mcrcon mcrcon.c On windows, remember to link with winsockets. Add -lws2_32 to compiler command line on Mingw GCC. More info here.