Class TcpForwardingChannelRequest
Represents a request to forward one TCP connection: the server opens a TCP connection of its own to the destination, and a StreamForwardingChannel passes the bytes between the two.
public class TcpForwardingChannelRequest : RequestBase
- Inheritance
-
TcpForwardingChannelRequest
- Inherited Members
Remarks
It works like SOCKS's CONNECT inside the VPN session: the client has ended an app's TCP connection on the device and names where it goes. The server opens nothing but TCP, so the request is named for it.
Constructors
TcpForwardingChannelRequest()
Represents a request to forward one TCP connection: the server opens a TCP connection of its own to the destination, and a StreamForwardingChannel passes the bytes between the two.
public TcpForwardingChannelRequest()
Remarks
It works like SOCKS's CONNECT inside the VPN session: the client has ended an app's TCP connection on the device and names where it goes. The server opens nothing but TCP, so the request is named for it.
Properties
DestinationEndPoint
Gets or sets the connection's destination.
[JsonConverter(typeof(IPEndPointConverter))]
public required IPEndPoint DestinationEndPoint { get; set; }