modified: src/client.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit

This commit is contained in:
Michael Wain 2024-10-07 22:21:23 +03:00
parent 94c216aff3
commit 275d284705

View File

@ -25,6 +25,7 @@ use robusta_jni::jni::JNIEnv;
use crate::jni::FridaLib;
pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIEnv<'_>) {
let (ltx, lrx) = unbounded::<Vec<u8>>();
ltx.send("Starting client...".as_bytes());
let sock = UdpSocket::bind("0.0.0.0:25565").await.unwrap();
@ -40,7 +41,6 @@ pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIE
let sock_rec = Arc::new(sock);
let sock_snd = sock_rec.clone();
let (ltx, lrx) = unbounded::<Vec<u8>>();
let (tx, rx) = unbounded::<Vec<u8>>();
let (dx, mx) = unbounded::<Vec<u8>>();