|
|
|
@ -36,8 +36,8 @@ impl Game {
|
|
|
|
|
tokens.push_back(Token(i));
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
let server_address = format!("{}:{}", config.server.ip, config.server.port);
|
|
|
|
|
let mut server = Server::listen(server_address.clone(), Token(0))?;
|
|
|
|
|
let server_address = [&config.server.ip, ":", &config.server.port.to_string()].concat();
|
|
|
|
|
let mut server = Server::listen(&server_address, Token(0))?;
|
|
|
|
|
info!("Listening on {}", &server_address);
|
|
|
|
|
|
|
|
|
|
let poll = try_log!(Poll::new(), "Unable to create Poll");
|
|
|
|
|