public static bool publishPort(OtpLocalNode node) { TcpClient s = null; try { s = r4_publish(node); } catch (IOException) { s = r3_publish(node); } node.setEpmd(s); return s != null; }
private bool publishPort() { if (node.getEpmd() != null) { return(false); // already published } OtpEpmd.publishPort(node); return(true); }