procs(Ref :: ranch:ref(),
Type :: acceptors | connections)
-> Pids :: [pid()]
Retrieve pids from a listener.
Get the pids of the acceptor processes
Pids = ranch:procs(example_listener, acceptors).
Get the pids of the connection processes
Pids = ranch:procs(example_listener, connections).