Return the listen port for the server.
Namespace: NetricsServerInterface
Assembly: NetricsServerInterface (in NetricsServerInterface.dll)
Syntax
| Visual Basic (Declaration) |
|---|
| Public Function port() As Integer _ Implements INetricsServerStats.port |
| C# |
|---|
| public int port() |
| C++ |
|---|
| public: int port() sealed |
| J# |
|---|
| public int port() |
| JScript |
|---|
| public function port() : int |
Implements
INetricsServerStats.port
Remarks
This returns the port number the server is listening on, the special value -1 indicates no port number information was received.