View Source esockd_listener_sup (esockd v5.9.3-rc.1)
Link to this section Summary
Functions
Get acceptor supervisor.
Get connection supervisor.
Get listener.
Start listener supervisor
Link to this section Types
-type listen_type() :: tcp | dtls.
Link to this section Functions
-spec acceptor_sup(pid()) -> pid().
-spec connection_sup(pid()) -> pid().
-spec listener(pid()) -> pid().
-spec start_link(listen_type(), atom(), esockd:listen_on(), [esockd:option()], esockd:mfargs()) -> {ok, pid()} | {error, term()}.