New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding support for TCP port forwarding #16
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks a lot for taking care of this, Dima! 👏
Let's add documentation for this api in the Readme as well |
Should the forwarding be able to automatically recover from IO errors on either end? |
@Leland-Takamine the part which can throw an exception is a |
This implementation seems more straightforward: TCPForwardServer Are we handling cases that the above implementation doesn't handle? |
@Leland-Takamine TCPForwardServer is nice (and a source of inspiration), but it misses some points:
|
Got it - looks good to me! |
As requested in issue #1
Usage (Kotlin):