示例#1
0
        protected override void Negotiate()
        {
            TelnetNegotiator         neg = new TelnetNegotiator(_destination.TerminalType, _destination.InitialWidth, _destination.InitialHeight);
            TelnetTerminalConnection r   = new TelnetTerminalConnection((ITCPParameter)_destination, neg, new PlainPoderosaSocket(_socket));

            //BACK-BURNER r.UsingSocks = _socks!=null;
            _result = r;
        }
示例#2
0
 public TelnetSocket(TelnetTerminalConnection parent, IPoderosaSocket socket, TelnetReceiver receiver)
 {
     _parent   = parent;
     _callback = receiver;
     _socket   = socket;
 }
示例#3
0
 public TelnetReceiver(TelnetTerminalConnection parent, TelnetNegotiator negotiator)
 {
     _parent     = parent;
     _negotiator = negotiator;
     _localdata  = new ByteDataFragment();
 }