View Source A2S.UDP (Elixir_A2S v0.1.0)

GenServer wrapping a UDP socket that sends packets and routes recevied ones to the proper A2S_statem.

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor.

Send the given packet to the game server.

Forward received packets to the appropriate A2S.Statem.

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

handle_call(msg, from, state)

View Source

Send the given packet to the game server.

Forward received packets to the appropriate A2S.Statem.