modified: src/client.rs
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good
All checks were successful
gitea/Frida-android-native/pipeline/head This commit looks good
This commit is contained in:
parent
f8a1d5011f
commit
a9d823a8e2
@ -23,6 +23,10 @@ use network_interface::NetworkInterface;
|
|||||||
use network_interface::NetworkInterfaceConfig;
|
use network_interface::NetworkInterfaceConfig;
|
||||||
|
|
||||||
pub async fn client_mode(client_config: ClientConfiguration, fd: i32) {
|
pub async fn client_mode(client_config: ClientConfiguration, fd: i32) {
|
||||||
|
if let Err(err) = log::set_boxed_logger(Box::<crate::simple_log::SimpleLogger>::default()) {
|
||||||
|
warn!("set logger error: {}", err);
|
||||||
|
}
|
||||||
|
|
||||||
info!("Starting client...");
|
info!("Starting client...");
|
||||||
|
|
||||||
let sock = UdpSocket::bind("0.0.0.0:25565").await.unwrap();
|
let sock = UdpSocket::bind("0.0.0.0:25565").await.unwrap();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user