teestatus 0.1.1

Library to retrieve information from teeworlds servers and related mods.
Documentation

teestatus

Request info about teeworlds servers.

Example

# use teestatus::*;
# use std::net::UdpSocket;

env_logger::init();
let sock = UdpSocket::bind("0.0.0.0:0").expect("can't bind socket");
sock.connect("0.0.0.0:8303")
	.expect("can't connect socket");
println!("info: {:#?}", ServerInfo::new(&sock).unwrap());