private static void TryDisconnectEndPoint(ISocketEndPoint endPoint) { try { endPoint.Disconnect(); } catch (Exception e) { Log.ErrorFormat("Caught exception while trying to disconnect endpoint: {0}", e); } }
/// <inheritdoc /> public void Disconnect() { _endPoint.Disconnect(); }