Applying Network Patterns to Streams

Nicholas Allen has a very interesting post about applying common networking patterns to Streams in order to send messages about the open stream, like Exceptions, or commands such as Cancel, to gracefully control the stream.

He basis this pattern off the common FTP protocol being implemented with two channels (which can be equated to streams) -- a data channel and a control channel.

Tags: streams, c#, patterns