ankh v0.7.2 Ankh.Transport behaviour
Transport behavior
Link to this section Summary
Callbacks
Accepts a client connection
Closes the connection
Connects to an host
Receives data
Sends data
Link to this section Types
Link to this type
t()
t()
t() :: term()
t() :: term()
Transport reference
Link to this section Callbacks
Link to this callback
accept(t, arg1, arg2)
Accepts a client connection
Link to this callback
close(t)
Closes the connection
Link to this callback
connect(arg0, arg1, arg2)
Connects to an host
Link to this callback
recv(t, integer)
Receives data
Link to this callback
send(t, iodata)
Sends data