[Please fix your newsreader to wrap lines properly.]
=?Utf-8?B?QmVuIFJlZXNl?= <b_*******@hotmail.com> wrote:
I want to send text data via a TCPClient objects NetworkStream,
that will be interpreted as color text in Telnet hosts Such as
Telnet.exe or Putty Telnet for Example.
How do I format the byte info in the NetworkStream Buffer to do this?
You need to look into the telnet protocol and its various different
escape sequences for colours. Note that not all terminals will support
all of the different escape sequences - you'd usually use some
negotiation at the start of the session to work out what is supported.
--
Jon Skeet - <sk***@pobox.com>
http://www.pobox.com/~skeet
If replying to the group, please do not mail me too