firejox / WinSocat

socat-like windows-specific program
MIT License
33 stars 4 forks source link

`bind` option was missing (just wanted to say thank you! šŸ˜Š) #9

Closed cloudeyes closed 11 months ago

cloudeyes commented 1 year ago

Hello, hero!

Recently I was desperately seaching for socat for windows, for some corporate security issues. The only one I found was follwing cygwin build version of original unix socat.

But it was very unstable and buggy... All my keep-alive socket connections kept being hang or lost.

And yesterday, I happened to find your project and tried to replace the sh*t cygwin one with it. Amazingly, it works perpectly. You're my savior! How can I express my gratefulness to you.

And it's just minor issue is missing of bind optioon. (I can say winsocat's workaround is much better though)

I needed to fix the following socat command

socat TCP-LISTEN:1621,fork,keepalive,bind=10.10.10.10 TCP:oracle-db1:1621

with this way

winsocat TCP-LISTEN:10.10.10.10:1621,fork,keepalive TCP:oracle-db1:1621

Now, I don't need bind option anymore, but it would be nice if you remark the way of specifying bind address explicitly with the brand-new winsocat.

Thank you very much again! Joseph.