private void finClient() { if (m_Client == null) { return; } m_Client.Dispose(); m_Client = null; }
private void ensureClient() { if (m_Client != null && m_Client.Active) { return; } finClient(); var ep = MpxBinding.ToIPEndPoint(Node); m_Client = Binding.SocketFactory.MakeClientSocket(this, ep, new ClientSite(""), receiveAction); }