TCP Channel Layer Examples

The following examples illustrate using TCP with the Channel Layer:

A TCP example that sends messages using a one-way pattern: OneWayTcpClientExampleOneWayTcpServerExample

A TCP example that sends messages using a request-reply pattern: RequestReplyTcpClientExampleRequestReplyTcpServerExample

A streaming TCP example: StreamingTcpClientExampleStreamingTcpServerExample

An async streaming TCP example: AsyncStreamingTcpClientExampleAsyncStreamingTcpServerExample

The following examples show how to enable WS-MetadataExchange on WS_SERVICE_HOST.

TCP service with WS-MetadataExchange enabled: MetadataExchangeSample. WCF service moniker client which calls into the TCP service with WS-MetadataExchange enabled: ServiceMonikerSample.