get_port


Description:

[ Version ( deprecated = true ) ]
public uint get_port ()

Warning: get_port is deprecated.

Gets the TCP port that this is listening on, if you are using the old API.

Note:

If you are using listen, etc, then use get_uris to get a list of all listening addresses.

Parameters:

this

a Server

Returns:

the port this is listening on.