Requiem.QUIC.Socket (requiem v0.2.0-rc.0)

Link to this section Summary

Link to this section Functions

Link to this function

address_parts(address)

Specs

address_parts(term()) :: {:ok, binary(), non_neg_integer()}

Specs

close(module()) :: :ok | {:error, :system_error | :not_found}
Link to this function

open(handler, host, port, pid, target_pids, event_capacity, poll_interval)

Specs

open(
  module(),
  binary(),
  non_neg_integer(),
  pid(),
  [pid()],
  non_neg_integer(),
  non_neg_integer()
) :: :ok | {:error, :system_error | :cant_bind}
Link to this function

send(handler, peer, packet)

Specs

send(module(), term(), binary()) :: :ok | {:error, :system_error | :not_found}