turning quick mode off also works

This commit is contained in:
Vladan Popovic 2022-06-23 02:18:44 +02:00
parent 6ce84ddfff
commit 481805a1d1

View file

@ -57,7 +57,7 @@ fn main() -> anyhow::Result<()> {
let _ = mdm.get_ip_addr()?; let _ = mdm.get_ip_addr()?;
println!("connecting to server!"); println!("connecting to server!");
let _ = mdm.tcp_set_quick_mode(true); let _ = mdm.tcp_set_quick_mode(false);
let _ = mdm.tcp_set_manual_receive()?; let _ = mdm.tcp_set_manual_receive()?;
let _ = mdm.tcp_connect("51.158.66.64", 9988)?; let _ = mdm.tcp_connect("51.158.66.64", 9988)?;
let _ = mdm.tcp_send("aaaaa")?; let _ = mdm.tcp_send("aaaaa")?;