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