procs(Ref :: ranch:ref(), Type :: acceptors | connections) -> Pids :: [pid()]
ranch:procs - Retrieve pids from a listener
procs(Ref :: ranch:ref(), Type :: acceptors | connections) -> Pids :: [pid()]
Retrieve pids from a listener.
The listener name.
The type of process that will be returned.
A list of pids is returned.
Pids = ranch:procs(acceptors).
Pids = ranch:procs(connections).
ranch:get_addr(3), ranch:get_port(3), ranch:info(3), ranch(3)
Donate to Loïc Hoguin because his work on Cowboy, Ranch, Gun and Erlang.mk is fantastic:
Recurring payment options are also available via GitHub Sponsors. These funds are used to cover the recurring expenses like food, dedicated servers or domain names.