View Source Soyaki.Socket.State (soyaki v1.0.1)

The state struct for the socket GenServer

Link to this section Summary

Link to this section Types

@type t() :: %Soyaki.Socket.State{
  addr_tuple: {:inet.ip_address(), :inet.port_number()},
  backlog: list(),
  read_timeout: integer(),
  socket_options: Soyaki.Socket.options(),
  timer: nil | reference(),
  udp_socket: :gen_udp.socket(),
  waiter: nil | pid()
}