Click here to Skip to main content
15,914,419 members
Home / Discussions / C#
   

C#

 
QuestionDeleting an occurance of a string Pin
muka6623-Feb-10 22:20
muka6623-Feb-10 22:20 
AnswerRe: Deleting an occurance of a string Pin
OriginalGriff23-Feb-10 22:39
mveOriginalGriff23-Feb-10 22:39 
GeneralRe: Deleting an occurance of a string Pin
muka6624-Feb-10 1:28
muka6624-Feb-10 1:28 
GeneralRe: Deleting an occurance of a string Pin
OriginalGriff24-Feb-10 4:35
mveOriginalGriff24-Feb-10 4:35 
GeneralRe: Deleting an occurance of a string Pin
OriginalGriff24-Feb-10 4:37
mveOriginalGriff24-Feb-10 4:37 
AnswerRe: Deleting an occurance of a string Pin
Ravi Bhavnani24-Feb-10 7:44
professionalRavi Bhavnani24-Feb-10 7:44 
QuestionAcquireReaderLock Problems Pin
Sandy-Lee23-Feb-10 22:07
Sandy-Lee23-Feb-10 22:07 
AnswerRe: AcquireReaderLock Problems Pin
Richard MacCutchan24-Feb-10 1:29
mveRichard MacCutchan24-Feb-10 1:29 
Questionconnecting to telnet and executing perl script [modified] Pin
l.laxmikant23-Feb-10 21:49
l.laxmikant23-Feb-10 21:49 
AnswerRe: connecting to telnet and executing perl script Pin
Richard MacCutchan23-Feb-10 21:55
mveRichard MacCutchan23-Feb-10 21:55 
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 

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.