ErlEpmd LookupPort Method NFX Class Library

[This is preliminary documentation and is subject to change.]

Determine what port a node listens for incoming connections on

Namespace: NFX.Erlang
Assembly: NFX.Erlang (in NFX.Erlang.dll) Version: 3.0.0.1 (3.0.0.1)
Syntax

public static int LookupPort(
	ErlLocalNode home,
	ErlRemoteNode node,
	bool closeSocket = false
)

Parameters

home
Type: NFX.Erlang ErlLocalNode
Local node
node
Type: NFX.Erlang ErlRemoteNode
Remote lode for which to look up the port number from remote EPMD
closeSocket (Optional)
Type: OnlineSystem Boolean
If true, close the connection to remote EPMD at return

Return Value

Type: OnlineInt32
the listen port for the specified node, or 0 if the node was not registered with Epmd
See Also