Pool.Acceptor

Waits on an open socket until a client connects to the socket, the socket is otherwise closed, or the process is killed.

Source

Summary

accept(socket, listener, ref, transport, arg5, 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

ref :: atom

transport :: atom

protocol :: {atom, opts}

Functions

accept(socket, listener, ref, transport, arg5, opts \\ [])

Specs:

Accepts on the socket until a client connects.

Source
start_link(socket, listener, transport, protocol, l_opts \\ [])

Specs:

Spawns a link to a separate process to accept the socket communication

Source