View Source ow_enet (overworld v2.0.0)
Summary
Functions
Handler is initialized for any new connection and logs the foreign IP
Starts the ENet connection handler with any initial state
Clean up the ENet handler by calling the session's disconnect callback
Types
-type peerinfo() :: map().
-type qos() :: {reliable | unreliable | unsequenced | undefined, non_neg_integer() | undefined}.
Functions
Handler is initialized for any new connection and logs the foreign IP
-spec start(map()) -> gen_server:start_ret().
Starts the ENet connection handler with any initial state
Clean up the ENet handler by calling the session's disconnect callback