This script automates the installation of Cygwin and the compilation of socat version 1.7.4.4 for Windows. It downloads the Cygwin installer, installs it with the necessary packages for socat compilation, then downloads and compiles socat. The resulting socat executable is located in the extracted socat folder.
- Save the script to a local folder on your Windows machine.
- Open an elevated command prompt and navigate to the folder containing the script.
- Run
socat-compile.bat
- The socat exe is located in
C:\cygwin64\socat-1.7.4.4\
Note: socat.exe requires the .dll files within socat-1.7.4.4 to run