Install Socat Cygwin


How to install socat (network utility) in Windows What is socat? Socat is a computer networking utility for reading from and writing to network connections using TCP or UDP. Socat.exe - /dev/ttyS15,raw,echo=0,setsid,sane Probably will also work (no tty package then), or just simply specify the dev node of the current terminal (might be tricky without tty package) tty - print the file name of the terminal connected to standard input. My fav links: Using socat for raw serial connection.

What is socat?
socat is a computer networking utility for reading from and writing to network connections using TCP or UDP.
Developed by Gerhard Rieger - http://www.dest-unreach.org/socat


How to install in Windows

1. Download and install Cygwin from https://www.cygwin.com

2. Install additional Cygwin packages:
- gcc-g++
- gcc-core

Install Socat Windows 10


Install- cygwin32-gcc-g++
- cygwin32-gcc-core
- make

3. Download socat current version http://www.dest-unreach.org/socat/download/socat-1.7.3.2.tar.gz

4. Open Cygwin prompt and chage to directory where downloaded socat

Yum Install Socat

tar zxvf socat-1.7.3.2.tar.gz
cd socat-1.7.3.2
./configure
make

Install Socat Cygwin

make install

Socat Download


Install Socat Ubuntu

Done!
Nice things to do with socat
https://blog.chmd.fr/ssh-over-ssl-episode-2-replacing-proxytunnel-with-socat.html
http://www.bitkistl.com/2016/03/socat-by-example.html
;-)

Socat Ubuntu