示例#1
0
 private void finClient()
 {
     if (m_Client == null)
     {
         return;
     }
     m_Client.Dispose();
     m_Client = null;
 }
示例#2
0
        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);
        }