# RPC Functions

## `ctl.listen`

List all the sockets on which the ctl module listens.

### `print` usage

     $ &sercmd; -f"[%v] %v:%v %v\n" ctl.listen
    [binrpc] unix_stream:/run/&kamailiobinary;/&kamailiobinary;_ctl

    # note: the above command is equivalent with &sercmd; listen

## `ctl.connections`

Returns the number of open binrpc connections (to the ctl module).

### `ctl.connections` usage

     $ &sercmd; ctl.connections
    1

## `ctl.who`

List open binrpc connections (to the ctl module).

### `ctl.who` usage

     $ &sercmd; -f"[%v] %v: %v %v -> %v %v\n" ctl.who
    [binrpc] unix_stream: <anonymous unix socket>  -> /run/&kamailiobinary;/&kamailiobinary;_ctl

    # note the above command is equivalent to &sercmd; who