internal static bool RaiseSessionConnectingEvent( [NotNull] IPAddress ip )
{
if ( ip == null )
throw new ArgumentNullException( "ip" );
var h = SessionConnecting;
if ( h == null )
return false;
var e = new SessionConnectingEventArgs( ip );
h( null, e );
return e.Cancel;
}