Project

General

Profile

Feature #3166

Updated by Junxiao Shi about 9 years ago

Implement `TcpTransport` for use with LinkService. 

 The `TcpTransport` is a subclass of [`Transport`](https://gist.github.com/yoursunny/22a7d53711b4e9bc198a) that communicates with either a local application or a remote forwarder via a TCP socket. socket 

 * `TcpTransport` is local if RemoteUri contains a loopback address; otherwise it's non-local. 
 * `TcpTransport` can be on-demand, persistent, or permanent. However, in this issue only on-demand and persistent are supported. 

 After implementing `TcpTransport`: 

 * change `TcpChannel` to initialize an `LpFace(GenericLinkService+TcpTransport)` `LpFace(SimpleLinkService+TcpTransport)` in place of `TcpFace` 
 * delete old `TcpFace` and `TcpLocalFace`

Back