Clapper.Server.get_port

### Method

# Clapper Serverget_port

deprecated: 0.10

#### Declaration [src]

    guint
    clapper_server_get_port (
      ClapperServer* server
    )

#### Description [src]

Get requested server listening port.

If you want to know the port server is currently listening on, use `clapper_server_get_current_port()` instead.

Deprecated since: 0.10

Use Control Hub from `clapper-enhancers` repo instead.

Gets property | `Clapper.Server:port`

#### Return value

Type: `guint`

Requested listening port or 0 when using random port.