Table of Contents

Class SocksForward

Namespace
Tmds.Ssh
Assembly
Tmds.Ssh.dll

SOCKS proxy server that forwards connections through the SSH server.

public sealed class SocksForward : IDisposable
Inheritance
SocksForward
Implements
Inherited Members

Properties

ListenEndPoint

Gets the local endpoint the SOCKS server listens on.

public EndPoint ListenEndPoint { get; }

Property Value

EndPoint

Stopped

Gets a token canceled when the SOCKS server stops.

public CancellationToken Stopped { get; }

Property Value

CancellationToken

Methods

Dispose()

Stops the SOCKS server and releases resources.

public void Dispose()

ThrowIfStopped()

Throws if the SOCKS server has stopped.

public void ThrowIfStopped()