Re: send - WeOnlyDo Discussion board

Re: send (General questions)

by wodSupport, Wednesday, April 12, 2006, 16:13 (6591 days ago) @ eltaghi

Eltaghi,

then above code must work - I tested it. In C# it would be something like this:[code]byte[] b = new byte[1];
b[0] = 3;
wodSSH.Send(ref b);
[/code]


Can you try that and tell me what happens?

BTW, if I may have an opinion, I think this is wrong approach. I don't think you should send CTRL+C at all. I would personally find cleaner way to solve those ---More--- lines, such as with 'terminal length 0' command, or using Receive method inside a loop...

Kreso


Complete thread: