internal HyperSocketClientModule(string ip, int port, int num, ProtocolType protocolType, HyperSocket hyperSocket) : base(ip, port, num)
 {
     this.hyperSocket = hyperSocket;
     if (protocolType == ProtocolType.Udp)
     {
         kcpHelper = new KcpHelper(hyperSocket.SessionId, (int)hyperSocket.config.UdpReceiveSize, hyperSocket.config.KcpWinSize, hyperSocket.config.kcpMode, this);
     }
 }
 internal RemoteHyperSocket(ushort sessionId, HyperSocket hyperSocket, HyperSocketConfig config)
 {
     if (config.UseSSL)
     {
         ssl = new SSL(SSL.SSLMode.AES);
     }
     hyperSocketRef = new WeakReference <HyperSocket>(hyperSocket);
     SessionId      = sessionId;
     kcpHelper      = new KcpHelper(sessionId, (int)config.UdpReceiveSize, config.KcpWinSize, config.kcpMode, this);
 }