Click here to Skip to main content
15,900,906 members
Home / Discussions / C#
   

C#

 
GeneralRe: connecting to telnet and executing perl script Pin
l.laxmikant23-Feb-10 22:00
l.laxmikant23-Feb-10 22:00 
GeneralRe: connecting to telnet and executing perl script Pin
Pete O'Hanlon23-Feb-10 22:28
mvePete O'Hanlon23-Feb-10 22:28 
GeneralRe: connecting to telnet and executing perl script Pin
l.laxmikant23-Feb-10 22:58
l.laxmikant23-Feb-10 22:58 
GeneralRe: connecting to telnet and executing perl script Pin
Pete O'Hanlon23-Feb-10 23:41
mvePete O'Hanlon23-Feb-10 23:41 
GeneralRe: connecting to telnet and executing perl script Pin
l.laxmikant24-Feb-10 0:22
l.laxmikant24-Feb-10 0:22 
GeneralRe: connecting to telnet and executing perl script Pin
Richard MacCutchan24-Feb-10 1:32
mveRichard MacCutchan24-Feb-10 1:32 
GeneralRe: connecting to telnet and executing perl script Pin
PIEBALDconsult24-Feb-10 9:33
mvePIEBALDconsult24-Feb-10 9:33 
AnswerRe: connecting to telnet and executing perl script [modified] Pin
PIEBALDconsult24-Feb-10 3:59
mvePIEBALDconsult24-Feb-10 3:59 
I've had to telnet into Unix systems and run some automated stuff before. (Five years ago, with C# 1.0 and .net 1.1)

I found a telnet client class somewhere, I'm not sure where, but probably not on CP. From that, I wrote my own and added the ability for it to execute command scripts -- with my own little scripting language.

It worked just great with only a few minor problems.


Unfortunately, my classes didn't get to a point where I felt I could write an article and publish them. I was actually working on that when I got laid off from that job. Sniff | :^)


Anyway, you need a telnet client class; just a socket won't do it. Does the current version of .net have a telnet client class? I haven't bothered to look.


P.S. My Telnet client class wraps a TcpClient object.
modified on Wednesday, February 24, 2010 4:58 PM

AnswerRe: connecting to telnet and executing perl script Pin
PIEBALDconsult1-Mar-10 4:16
mvePIEBALDconsult1-Mar-10 4:16 
AnswerRe: connecting to telnet and executing perl script Pin
PIEBALDconsult4-Mar-10 6:43
mvePIEBALDconsult4-Mar-10 6:43 
QuestionError Code 17 from RegReplaceKey ?? Pin
ub3rst4r23-Feb-10 19:30
ub3rst4r23-Feb-10 19:30 
AnswerRe: Error Code 17 from RegReplaceKey ?? Pin
RichardM123-Feb-10 20:02
RichardM123-Feb-10 20:02 
AnswerRe: Error Code 17 from RegReplaceKey ?? Pin
Richard MacCutchan23-Feb-10 21:51
mveRichard MacCutchan23-Feb-10 21:51 
GeneralRe: Error Code 17 from RegReplaceKey ?? Pin
ub3rst4r24-Feb-10 17:56
ub3rst4r24-Feb-10 17:56 
GeneralRe: Error Code 17 from RegReplaceKey ?? Pin
Richard MacCutchan24-Feb-10 21:52
mveRichard MacCutchan24-Feb-10 21:52 
GeneralRe: Error Code 17 from RegReplaceKey ?? Pin
ub3rst4r25-Feb-10 12:27
ub3rst4r25-Feb-10 12:27 
GeneralRe: Error Code 17 from RegReplaceKey ?? Pin
Richard MacCutchan25-Feb-10 21:47
mveRichard MacCutchan25-Feb-10 21:47 
QuestionReduce the form load time Pin
Hum Dum23-Feb-10 19:19
Hum Dum23-Feb-10 19:19 
AnswerRe: Reduce the form load time Pin
Saksida Bojan23-Feb-10 19:34
Saksida Bojan23-Feb-10 19:34 
GeneralRe: Reduce the form load time Pin
Hum Dum23-Feb-10 19:41
Hum Dum23-Feb-10 19:41 
GeneralRe: Reduce the form load time Pin
Saksida Bojan23-Feb-10 20:46
Saksida Bojan23-Feb-10 20:46 
GeneralRe: Reduce the form load time Pin
Hum Dum23-Feb-10 22:09
Hum Dum23-Feb-10 22:09 
GeneralRe: Reduce the form load time Pin
Saksida Bojan24-Feb-10 0:42
Saksida Bojan24-Feb-10 0:42 
AnswerRe: Reduce the form load time Pin
David Skelly23-Feb-10 22:43
David Skelly23-Feb-10 22:43 
Questionwindows forms key board for other application Pin
nayana.r.r23-Feb-10 19:12
nayana.r.r23-Feb-10 19:12 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.