private void unPublishPort() { // unregister with epmd OtpEpmd.unPublishPort(a_node); // close the local descriptor (if we have one) closeSock(a_node.epmd); a_node.epmd = null; }
/* * Unregister the server node's name and port number from the Erlang * port mapper, thus preventing any new connections from remote * nodes. **/ public virtual void unPublishPort() { // unregister with epmd OtpEpmd.unPublishPort(this); // close the local descriptor (if we have one) try { if (base.epmd != null) { base.epmd.Close(); } } catch (System.IO.IOException) { /*ignore close errors */ } base.epmd = null; }