NOTE: This method is now obsolete.
Returns the port number the server is listening on.
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 |
Return Value
The port number the server is listening on for plain-text communications, or if plain-text communications are disabled, return the port number the server is listening on for encrypted communications. For embedded servers, always returns -1.
Remarks
The special value -1 indicates no port number information is available.