[Devember 2022] Automatic Complation of Socat for Windows

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

  1. Save the script to a local folder on your Windows machine.
  2. Open an elevated command prompt and navigate to the folder containing the script.
  3. Run socat-compile.bat
  4. 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

Thanks for this. Do you plan to update the git so it runs with the latest socat-1.8.0.0 as it has many new features?