Exemplo n.º 1
0
        /**
         * 连接一个服务器
         */
        public Ukcp connect(EndPoint remoteAddress, ChannelConfig channelConfig, KcpListener kcpListener)
        {
            var channel = bindLocal(bootstrap);

            return(connect(channel, remoteAddress, channelConfig, kcpListener));
        }
Exemplo n.º 2
0
 public ClientChannelHandler(IChannelManager channelManager, ChannelConfig channelConfig)
 {
     this._channelManager = channelManager;
     this._channelConfig  = channelConfig;
 }