Commit 0624c872 authored by nanamicat's avatar nanamicat

clean

parent ef217913
......@@ -54,6 +54,8 @@ async fn main() -> anyhow::Result<()> {
loop {
tokio::select! {
biased; // 优先处理上面的
Ok((len, src)) = socket.recv_from(&mut buf) => {
if src == config.server {
// from server
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment