modified: src/client.rs
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit
Some checks failed
gitea/Frida-android-native/pipeline/head There was a failure building this commit
This commit is contained in:
parent
94c216aff3
commit
275d284705
@ -25,6 +25,7 @@ use robusta_jni::jni::JNIEnv;
|
|||||||
use crate::jni::FridaLib;
|
use crate::jni::FridaLib;
|
||||||
|
|
||||||
pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIEnv<'_>) {
|
pub async fn client_mode(client_config: ClientConfiguration, fd: i32, env: &JNIEnv<'_>) {
|
||||||
|
let (ltx, lrx) = unbounded::<Vec<u8>>();
|
||||||
ltx.send("Starting client...".as_bytes());
|
ltx.send("Starting client...".as_bytes());
|
||||||
|
|
||||||
let sock = UdpSocket::bind("0.0.0.0:25565").await.unwrap();
|
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_rec = Arc::new(sock);
|
||||||
let sock_snd = sock_rec.clone();
|
let sock_snd = sock_rec.clone();
|
||||||
|
|
||||||
let (ltx, lrx) = unbounded::<Vec<u8>>();
|
|
||||||
let (tx, rx) = unbounded::<Vec<u8>>();
|
let (tx, rx) = unbounded::<Vec<u8>>();
|
||||||
let (dx, mx) = unbounded::<Vec<u8>>();
|
let (dx, mx) = unbounded::<Vec<u8>>();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user