Click here to Skip to main content
15,905,028 members
Home / Discussions / C#
   

C#

 
AnswerRe: Monte carlo Rabin_Karp implementation Pin
Judah Gabriel Himango2-Oct-08 17:24
sponsorJudah Gabriel Himango2-Oct-08 17:24 
GeneralRe: Monte carlo Rabin_Karp implementation Pin
Angelinna2-Oct-08 18:09
Angelinna2-Oct-08 18:09 
GeneralRe: Monte carlo Rabin_Karp implementation Pin
MumbleB2-Oct-08 19:30
MumbleB2-Oct-08 19:30 
GeneralRe: Monte carlo Rabin_Karp implementation Pin
#realJSOP2-Oct-08 23:50
professional#realJSOP2-Oct-08 23:50 
GeneralRe: Monte carlo Rabin_Karp implementation Pin
Pete O'Hanlon3-Oct-08 0:33
mvePete O'Hanlon3-Oct-08 0:33 
GeneralRe: Monte carlo Rabin_Karp implementation Pin
blackjack21503-Oct-08 3:09
blackjack21503-Oct-08 3:09 
QuestionConsole Telnet App help Pin
nit1152-Oct-08 13:05
nit1152-Oct-08 13:05 
AnswerRe: Console Telnet App help Pin
PIEBALDconsult2-Oct-08 17:38
mvePIEBALDconsult2-Oct-08 17:38 
Not sure I can help, but I wrote a telnet client to do similar stuff (connect to a SCO UNIX box and manipulate a third-party character-based application). I had to create a script language for it. A Windows Service would cobble up the necessary script and run it.

A sample script to log onto a server, execute ps -a, and disconnect:

<login:
@someserver
<Password:
>myusername
<TERM
>mypassword
<$
>
>ps -a
$exit


The important bits are:
System.Net.Sockets.TcpClient
System.Net.Sockets.NetworkStream

Anyway, I didn't use SendKeys, I simply used Read and Write on the stream.


I would have written an article on it, but the handling of telnet options isn't quite right.
GeneralRe: Console Telnet App help Pin
GerosDS22-Oct-08 6:31
GerosDS22-Oct-08 6:31 
QuestionUser Control Tutorial Pin
baranils2-Oct-08 8:35
baranils2-Oct-08 8:35 
AnswerRe: User Control Tutorial Pin
Spacix One2-Oct-08 8:56
Spacix One2-Oct-08 8:56 
GeneralRe: User Control Tutorial Pin
baranils2-Oct-08 10:55
baranils2-Oct-08 10:55 
GeneralRe: User Control Tutorial Pin
Wes Aday3-Oct-08 4:20
professionalWes Aday3-Oct-08 4:20 
AnswerRe: User Control Tutorial Pin
Paul Conrad2-Oct-08 9:32
professionalPaul Conrad2-Oct-08 9:32 
GeneralRe: User Control Tutorial Pin
baranils2-Oct-08 10:53
baranils2-Oct-08 10:53 
GeneralRe: User Control Tutorial Pin
Anthony Mushrow2-Oct-08 11:30
professionalAnthony Mushrow2-Oct-08 11:30 
GeneralRe: User Control Tutorial Pin
nelsonpaixao2-Oct-08 13:51
nelsonpaixao2-Oct-08 13:51 
GeneralRe: User Control Tutorial Pin
baranils2-Oct-08 20:04
baranils2-Oct-08 20:04 
GeneralRe: User Control Tutorial Pin
DaveyM692-Oct-08 23:39
professionalDaveyM692-Oct-08 23:39 
Questionclose one form and start another Pin
TerRO_GirL2-Oct-08 7:37
TerRO_GirL2-Oct-08 7:37 
AnswerRe: close one form and start another Pin
Thomas Stockwell2-Oct-08 7:42
professionalThomas Stockwell2-Oct-08 7:42 
AnswerRe: close one form and start another Pin
Dan Neely2-Oct-08 7:43
Dan Neely2-Oct-08 7:43 
GeneralRe: close one form and start another Pin
TerRO_GirL2-Oct-08 9:31
TerRO_GirL2-Oct-08 9:31 
AnswerRe: close one form and start another Pin
nelsonpaixao2-Oct-08 14:04
nelsonpaixao2-Oct-08 14:04 
GeneralRe: close one form and start another Pin
TerRO_GirL2-Oct-08 23:18
TerRO_GirL2-Oct-08 23:18 

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.