seems like you are doing a busy wait rather creating threads on the
connection. If you are not able to communicate with server then you should
be able to terminate thread by closing connection between client and server.
Ctrl+C is a shortcut for program to terminate (forceful kill) the
application as DOS is single threaded.
"mule" <tj**********@gmail.com> wrote in message
news:11**********************@z14g2000cwz.googlegr oups.com...
hello all, I have a c# app that telnets into a router and issues a
series of commands. All works great except I haven't figured out how to
send a CTRL+C. I need this so I can kill a program that tends to get
hung.
Thanks!