Requiem.NIF.SocketSender (requiem v0.4.0)

Link to this section Summary

Link to this section Functions

Link to this function

destroy(sender_ptr)

Specs

destroy(integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function

get(socket_ptr, idx)

Specs

get(integer(), integer()) ::
  {:ok, integer()} | {:error, :system_error | :not_found}
Link to this function

send(sender_ptr, address, packet)

Specs

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