Using Console.Beep() through TELNET


  • Hi All,

    I have a console application installed on a Windows 2003 server.  It is accessed through clients that are logged in using the Windows 2003 Telnet service.

    All of the Console.WriteLine statements work fine.  However, the Console.Beep() will not play on the client running the TELNET session.  Instead it plays on the server.

    How do I pass the BEEP from the server to the client?

    Tuesday, November 27, 2007 12:05 AM


  • Apparently, the beep character (ascii 7) generates a sound event on the server.  The telnet service never sees the character.  There is no workaround for the included Windows 2003 telnet service.

    The easiest solution was to use another 3rd party Telnet server which provides a workaround for this problem.  The 3rd party server can be congifured to use an alternate character as the 'BEL' character.  Then the console application needs to display that character whenever a beep is to occur.  The telnet server then sends the ascii 7 to the telnet client whenever it sees that character.
    Friday, December 14, 2007 5:35 PM