Requiem.NIF.Socket (requiem v0.4.0)
Link to this section Summary
Link to this section Functions
Link to this function
address_from_string(address)
Specs
Link to this function
address_parts(address)
Specs
address_parts(term()) :: {:ok, binary(), non_neg_integer()}
Link to this function
cpu_num()
Specs
cpu_num() :: integer()
Link to this function
destroy(socket_ptr)
Specs
destroy(integer()) :: :ok | {:error, :system_error | :not_found}
Link to this function
new(num_node, read_timeout, write_timeout)
Specs
new(integer(), non_neg_integer(), non_neg_integer()) :: {:ok, integer()} | {:error, :system_error | :socket_error}
Link to this function
start(socket_ptr, host, port, pid, target_pids)
Specs
start(integer(), binary(), non_neg_integer(), pid(), [pid()]) :: :ok | {:error, :system_error | :socket_error}