ace v0.16.8 Ace.Socket View Source
Wrapper to normalise interactions with tcp or tls sockets.
NOTE: tls sockets use the :ssl
module and are identified with :ssl
atom
Link to this section Summary
Link to this section Types
Link to this type
listen_socket()
View Source
listen_socket() :: {:ssl, :"ssl.ListenSocket"} | {:tcp, :inet.socket()}
Wrapped listen socket.
Wrapped tcp socket or tls socket.