コード例 #1
0
        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);
        }
コード例 #2
0
 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;
 }