Beispiel #1
0
        public void Connect(string address)
        {
            m_context.Enter();

            try
            {
                Endpoint endpoint = new Endpoint(m_context, SocketType, address);
                endpoint.Start();

                Attach(endpoint);
            }
            finally
            {
                m_context.Exit();
            }
        }