public SSHChannel OpenShell(ISSHChannelEventReceiver receiver) { _channel_entry = new TelnetChannel(this, socket, receiver); TelnetPacketBuilder pb = new TelnetPacketBuilder(receiver); PlainSocket ps = new PlainSocket(socket, pb); ps.RepeatAsyncRead(); return(_channel_entry); }
public SSHChannel OpenShell(ISSHChannelEventReceiver receiver) { _channel_entry = new TelnetChannel(this, socket, receiver); TelnetPacketBuilder pb = new TelnetPacketBuilder(receiver); PlainSocket ps = new PlainSocket(socket, pb); ps.RepeatAsyncRead(); return _channel_entry; }