From 8fded3ccaf682fe5ad3434bf91f749798098c111 Mon Sep 17 00:00:00 2001 From: Bel LaPointe Date: Thu, 23 Mar 2023 16:48:36 -0600 Subject: [PATCH] MVP BITCH --- src/stream.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/stream.rs b/src/stream.rs index 716b041..7580da7 100644 --- a/src/stream.rs +++ b/src/stream.rs @@ -295,7 +295,7 @@ pub fn build_output_stream_udp(cfg: &Stream) -> Result impl OutputStream for OutputStreamUDP { fn put(&mut self, v: Vec) { if self.last_socket.is_none() { - let result = std::net::UdpSocket::bind("127.0.0.1:".to_string() + &(self.port+10).to_string()); + let result = std::net::UdpSocket::bind("0.0.0.0:".to_string() + &(self.port+10).to_string()); if result.is_err() { eprintln!("OutputStreamUDP: failed to bind to 127.0.0.1:{}: {:?}", &(self.port+10).to_string(), result.err()); return;