Pool.Acceptor
Waits on an open socket until a client connects to the socket, the socket is otherwise closed, or the process is killed.
Summary↑
| accept(socket, listener, transport, arg4, opts \\ []) | Accepts on the socket until a client connects |
| start_link(socket, listener, transport, protocol, l_opts \\ []) | Spawns a link to a separate process to accept the socket communication |
Types ↑
socket :: :inet.socket
listener :: pid
transport :: atom
Functions
Specs:
Accepts on the socket until a client connects.
Specs:
Spawns a link to a separate process to accept the socket communication