Exemplo n.º 1
0
 private void OnMaxConnectionsPerIPExceeded(TcpSession s)
 {
     if (s != null && s.IsRunning)
     {
         s.RaiseError("", "Client host rejected: too many connections from your IP(" + s.RemoteEndPoint.Address + "), please try again later.");
     }
 }
Exemplo n.º 2
0
 private void OnMaxConnectionsExceeded(TcpSession s)
 {
     if (s != null && s.IsRunning)
     {
         s.RaiseError("", "Client host rejected: too many connections, please try again later.");
     }
 }