System.Runtime.Remoting.Channels.Tcp.TcpServerChannel Class

Implements a server channel for remote calls that uses the TCP protocol to transmit messages.

See Also: TcpServerChannel Members


public class TcpServerChannel : System.Runtime.Remoting.Channels.IChannelReceiver


Channels transport messages across remoting boundaries (for example, computers or application domains). The System.Runtime.Remoting.Channels.Tcp.TcpServerChannel class transports messages using the TCP protocol.

Channels are used by the .NET Framework remoting infrastructure to transport remote calls. When a client makes a call to a remote object, the call is serialized into a message that is sent by a client channel and received by a server channel. It is then deserialized and processed. Any returned values are transmitted by the server channel and received by the client channel.

To perform additional processing of messages on the server side, you can specify an implementation of the System.Runtime.Remoting.Channels.IServerChannelSinkProvider interface through which all messages processed by the System.Runtime.Remoting.Channels.Tcp.TcpServerChannel instance are passed.

The System.Runtime.Remoting.Channels.Tcp.TcpServerChannel instance accepts messages serialized in either binary or SOAP format.

A System.Runtime.Remoting.Channels.Tcp.TcpServerChannel object has associated configuration properties that can be set at run time either in a configuration file (by invoking the static System.Runtime.Remoting.RemotingConfiguration.Configure(string) method) or programmatically (by passing a IDictionary collection to the TcpServerChannel.#ctor(IDictionary, System.Runtime.Remoting.Channels.IServerChannelSinkProvider) constructor). For a list of these configuration properties, see Channel and Formatter Configuration Properties.


If the server computer is running Windows 95/98/Me, the System.Runtime.Remoting.Channels.Tcp.TcpServerChannel cannot be specified as secure.


Namespace: System.Runtime.Remoting.Channels.Tcp
Assembly: System.Runtime.Remoting (in System.Runtime.Remoting.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0,