Source/NFX.Erlang/Connect/ErlLocalNode.cs
/// <summary>
/// Start current node. This optionally creates a socket listener
/// and I/O server
/// </summary>
Start current node. This optionally creates a socket listener
and I/O server
Start current node . This optionally creates a socket listener and I / O server
protected override void DoStart()
    {
      m_Connections = new ConcurrentDictionary<ErlAtom, ErlConnection>();
      m_Mailboxes = new Internal.MboxRegistry(this);
      if (m_IoServer != null)
        throw new ErlException("Already started!");
      m_GroupLeader = m_Mailboxes.Create(ConstAtoms.User);
      if (m_AcceptConnections)
      {
        var addr = m_AcceptAddressPort.IsNullOrEmpty()
          ? new IPEndPoint(0, 0)
          : m_AcceptAddressPort.ToIPEndPoint();
        m_Acceptor = new Internal.ErlAcceptor(this, addr.Port, addr.Address);
      }
      m_IoServer = new Internal.ErlIoServer(this);
      m_RpcServer = new Internal.ErlRpcServer(this);
    }
protected override void DoStart ( ) { m_Connections = new ConcurrentDictionary < ErlAtom , ErlConnection > ( ) ; m_Mailboxes = new Internal . MboxRegistry ( this ) ; if ( m_IoServer != null ) throw new ErlException ( " " ) ; m_GroupLeader = m_Mailboxes . Create ( ConstAtoms . User ) ; if ( m_AcceptConnections ) { var addr = m_AcceptAddressPort . IsNullOrEmpty ( ) ? new IPEndPoint ( 0 , 0 ) : m_AcceptAddressPort . ToIPEndPoint ( ) ; m_Acceptor = new Internal . ErlAcceptor ( this , addr . Port , addr . Address ) ; } m_IoServer = new Internal . ErlIoServer ( this ) ; m_RpcServer = new Internal . ErlRpcServer ( this ) ; }
Start current node.
Start current node .
//bool acceptConnections = true, short port = 0, IPAddress addr = null