.NET 2.0 Remoting Listener - Adding a Telnet connection message [modified]
-
Hello all, I have a .NET 2.0 remoting service that listens on various URIs for requests, all well and good and it works perfectly. However I would like to add functionality that displays a custom message should somebody telnet to the listening port. Currently if somebody does this the following is displayed:
.NET☺☻☻♥☺♥☺☺hServer encountered an internal error. To get more info turn on cust
omErrors in the server's config file.I would like to display something like this:
My Widget Application v1.0
blah blah blah something about usage blah blah something about auditing blah blah blahWhat complicates this even further is the fact that the tcp channel is registered with a compression and encryption sink. Obviously a simple command line telnet connection is not going to send any data that is either compressed or encrypted, so I need this to bypass the sinks. So does anybody know how to do this? -- modified at 9:13 Friday 23rd November, 2007