Changes to be committed:

modified:   src/client.rs
This commit is contained in:
Michael Wain 2024-08-25 19:08:14 +03:00
parent 9309f0255a
commit 5af83d605c

View File

@ -78,7 +78,8 @@ pub async fn client_mode(client_config: ClientConfiguration) {
#[cfg(target_os = "linux")]
configure_routes();
let sock = UdpSocket::bind("0.0.0.0:59611").await.unwrap();
// 59611
let sock = UdpSocket::bind("0.0.0.0:25565").await.unwrap();
sock.connect(&client_config.server.endpoint).await.unwrap();
let sock_rec = Arc::new(sock);