Files
ssh.net/Renci.SshClient/Renci.SshNet.NET35/ForwardedPortLocal.NET35.cs
T
olegkap_cp cfa1a7028b Refactor PortForwarding
Fix ChannelDirectTcpip clean up after socket is close by remote host
Add ForwardedPortDynamic to support dynamic forwarding, SOCKS4 and SOCKS5 are supported.
2012-01-06 18:57:48 +00:00

20 lines
445 B
C#

using System;
using System.Net.Sockets;
using System.Net;
using System.Threading;
using Renci.SshNet.Channels;
namespace Renci.SshNet
{
/// <summary>
/// Provides functionality for local port forwarding
/// </summary>
public partial class ForwardedPortLocal
{
partial void ExecuteThread(Action action)
{
ThreadPool.QueueUserWorkItem((o) => { action(); });
}
}
}