Redigera

Dela via


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 TcpChannel class.

Classes

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.

Remarks

The TcpChannel class combines the TcpClientChannel class and the TcpServerChannel class, and can be used to both receive and send messages using the TCP protocol.