I created a batch script that compiles socat into an exe using Cygwin - Github.
socat-install-cygwin
This script automates the installation of Cygwin and the compilation of socat version 1.7.4.4 for Windows. It downloads the Cygwin installer and 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.
Usage
- 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
Sources
- GitHub - rtwolf/cygwin-auto-install: Automated cygwin install. Just download the project as a zip file, extract and run cygwin-install.bat to install cygwin + apt-cyg + common optional packages.
- Automated cygwin installation, with thanks to http://old.nabble.com/Re%3A-Customizable-cygwin-setup.exe-p25828300.html ยท GitHub
- GitHub - valorisa/socat-1.7.4.4_for_Windows: socat 1.7.4.4-x86_64 for Windows
- GitHub - 3ndG4me/socat: Mirror of the socat source code with pre-built releases for Linux (x64 and x86), Windows (x64 and x86), and MacOS (x64)