From a5e7848e11ca175494c646b0142828820bc5952d Mon Sep 17 00:00:00 2001 From: Ollo Date: Tue, 15 Aug 2023 13:25:07 +0200 Subject: [PATCH] Change client network port --- client/bin/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/bin/src/main.rs b/client/bin/src/main.rs index 40c1efb..a2027ab 100644 --- a/client/bin/src/main.rs +++ b/client/bin/src/main.rs @@ -238,7 +238,7 @@ fn send_package(ipaddress: String, data: &Option>) { package[1..PACKAGE_LENGTH].copy_from_slice(&display.image); - let socket = UdpSocket::bind("0.0.0.0:4242").expect("couldn't bind to address"); + let socket = UdpSocket::bind("0.0.0.0:14242").expect("couldn't bind to address"); socket .send_to(&package, ipaddress + ":4242") .expect("couldn't send data");