The System.Runtime.Remoting.Channels.Tcp namespace contains channels that use the TCP protocol to transport messages and objects to and from remote locations. By default, the TCP channels encode objects and method calls in binary format for transmission, but other encoding and decoding formatter sinks can be specified in the configuration properties of a channel. One of the most important classes of the System.Runtime.Remoting.Channels.Tcp namespace is the System.Runtime.Remoting.Channels.Tcp.TcpChannel class.
The System.Runtime.Remoting.Channels.Tcp.TcpChannel class combines the System.Runtime.Remoting.Channels.Tcp.TcpClientChannel class and the System.Runtime.Remoting.Channels.Tcp.TcpServerChannel class, and can be used to both receive and send messages using the TCP protocol.
| Type | Reason |
|---|---|
| TcpChannel |
Provides a channel implementation that uses the TCP protocol to transmit messages. |
| TcpClientChannel |
For remote calls, implements a client channel that uses the TCP protocol to transmit messages. |
| TcpServerChannel |
Implements a server channel for remote calls that uses the TCP protocol to transmit messages. |