mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-10-05 21:01:44 +00:00
cfa1a7028b
Fix ChannelDirectTcpip clean up after socket is close by remote host Add ForwardedPortDynamic to support dynamic forwarding, SOCKS4 and SOCKS5 are supported.
17 lines
355 B
C#
17 lines
355 B
C#
using System;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace Renci.SshNet
|
|
{
|
|
/// <summary>
|
|
/// Provides functionality for local port forwarding
|
|
/// </summary>
|
|
public partial class ForwardedPortLocal
|
|
{
|
|
partial void ExecuteThread(Action action)
|
|
{
|
|
Task.Factory.StartNew(action);
|
|
}
|
|
}
|
|
}
|