turning quick mode off also works
This commit is contained in:
parent
6ce84ddfff
commit
481805a1d1
1 changed files with 1 additions and 1 deletions
|
@ -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")?;
|
||||||
|
|
Loading…
Reference in a new issue