use std::net::UdpSocket; use std::collections::HashMap; use gaffer_udp::blocking::GafferSocket; pub struct SocketWorld { pub sockets: HashMap, pub gaffer_sockets: HashMap, } impl SocketWorld { pub fn new() -> SocketWorld { SocketWorld { sockets: HashMap::new(), gaffer_sockets: HashMap::new() } } }