Return the listen port for the server.


Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)

Syntax

Visual Basic (Declaration)
Public Function port() As Integer
C#
public int port()
C++
public:
 int port() sealed 
J#
public int port()
JScript
public  function port() : int

Remarks

This returns the port number the server is listening on, the special value -1 indicates no port number information was received.

See Also