     {:noreply, state}
   end
 
-  def handle_info(other, state) do
+  def handle_info(other, _state) do
     Logger.info("THE UNEXPECTED: #{inspect other}")
   end
 end

  require Logger
  use GenServer

  @broadcast_port 8213

  defmodule Message do
    @derive [Poison.Encoder]

          {:active, true}
        ])

    Process.send_after(self(), :announce_self, @announce_interval_ms)

    {:ok, %{socket: socket}}
  end



  def handle_info(:announce_self, state) do
    message = %Message{type: "PING", data: ""}
    |> Poison.encode!

    :ok = :gen_udp.send(state.socket, @broadcast_address, @broadcast_port, message)

    Process.send_after(self(), :announce_self, @announce_interval_ms)

    {:noreply, state}
  end

  def handle_info({:udp, _socket, ip, port, data}, state) do
