Exemplo n.º 1
0
 protected KcpConnection(KcpDelayMode delayMode, int sendWindowSize, int receiveWindowSize)
 {
     this.delayMode         = delayMode;
     this.sendWindowSize    = sendWindowSize;
     this.receiveWindowSize = receiveWindowSize;
 }
Exemplo n.º 2
0
 public KcpServerConnection(Socket socket, EndPoint remoteEndpoint, KcpDelayMode delayMode) : base(delayMode)
 {
     this.socket         = socket;
     this.remoteEndpoint = remoteEndpoint;
     SetupKcp();
 }
Exemplo n.º 3
0
 /// <summary>
 /// Client connection,  does not share the UDP client with anyone
 /// so we can set up our own read loop
 /// </summary>
 /// <param name="host"></param>
 /// <param name="port"></param>
 public KcpClientConnection(KcpDelayMode delayMode) : base(delayMode)
 {
 }
Exemplo n.º 4
0
 public KcpServerConnection(Socket socket, EndPoint remoteEndpoint, KcpDelayMode delayMode, int sendWindowSize, int receiveWindowSize) : base(delayMode, sendWindowSize, receiveWindowSize)
 {
     this.socket         = socket;
     this.remoteEndpoint = remoteEndpoint;
     SetupKcp();
 }
Exemplo n.º 5
0
 /// <summary>
 /// Client connection,  does not share the UDP client with anyone
 /// so we can set up our own read loop
 /// </summary>
 /// <param name="host"></param>
 /// <param name="port"></param>
 public KcpClientConnection(KcpDelayMode delayMode, int sendWindowSize, int receiveWindowSize) : base(delayMode, sendWindowSize, receiveWindowSize)
 {
 }
Exemplo n.º 6
0
 protected KcpConnection(KcpDelayMode delayMode)
 {
     this.delayMode = delayMode;
 }