mirror of
https://github.com/sshnet/SSH.NET.git
synced 2026-09-21 02:13:23 +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.
14 lines
274 B
C#
14 lines
274 B
C#
using System;
|
|
using System.Threading;
|
|
|
|
namespace Renci.SshNet
|
|
{
|
|
public partial class ForwardedPortDynamic
|
|
{
|
|
partial void ExecuteThread(Action action)
|
|
{
|
|
ThreadPool.QueueUserWorkItem((o) => { action(); });
|
|
}
|
|
}
|
|
}
|