Changes to be committed:
modified: src/client.rs
This commit is contained in:
parent
ff058cb853
commit
fe1d3b9089
@ -16,9 +16,6 @@ use crate::udp::{UDPVpnPacket, UDPVpnHandshake, UDPSerializable};
|
|||||||
pub async fn client_mode(client_config: ClientConfiguration) {
|
pub async fn client_mode(client_config: ClientConfiguration) {
|
||||||
info!("Starting client...");
|
info!("Starting client...");
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// 59611
|
|
||||||
let sock = UdpSocket::bind("0.0.0.0:25565").await.unwrap();
|
let sock = UdpSocket::bind("0.0.0.0:25565").await.unwrap();
|
||||||
sock.connect(&client_config.server.endpoint).await.unwrap();
|
sock.connect(&client_config.server.endpoint).await.unwrap();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user