Beispiel #1
0
        internal void Connect()
        {
            if (m_Connected)
            {
                throw new ErlException(StringConsts.ERL_CONN_ALREADY_CONNECTED_ERROR);
            }

            // now get a connection between the two...
            int port = ErlEpmd.LookupPort(LocalNode, m_Peer, true);

            doConnect(port);

            m_Peer.Port = port;

            m_Connected = true;
        }