10
0
Fork 0
mirror of https://github.com/ZeusWPI/ZNS.git synced 2024-10-29 21:14:27 +01:00

change port

This commit is contained in:
Xander Bil 2024-07-15 22:29:00 +02:00
parent 50640d859e
commit c213ac14f9
No known key found for this signature in database
GPG key ID: EC9706B54A278598

View file

@ -18,7 +18,7 @@ mod utils;
#[tokio::main] #[tokio::main]
async fn main() -> Result<(), Box<dyn Error>> { async fn main() -> Result<(), Box<dyn Error>> {
Config::initialize(); Config::initialize();
let resolver_add = SocketAddr::from(([127, 0, 0, 1], 8080)); let resolver_add = SocketAddr::from(([127, 0, 0, 1], 5353));
let _ = tokio::join!( let _ = tokio::join!(
udp_listener_loop(resolver_add), udp_listener_loop(resolver_add),
tcp_listener_loop(resolver_add) tcp_listener_loop(resolver_add)