|
@@ -593,7 +593,7 @@ impl SocketTool {
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
Ok(Message::Pong(s)) => {
|
|
Ok(Message::Pong(s)) => {
|
|
|
- writeln!(stdout, "Pong-响应--{:?}", String::from_utf8(s)).unwrap();
|
|
|
|
|
|
|
+ writeln!(stdout, "Pong-响应--{:?}-{:?}", String::from_utf8(s),lable.to_string()).unwrap();
|
|
|
if lable.to_string() == "okx".to_string() {
|
|
if lable.to_string() == "okx".to_string() {
|
|
|
okx_ping_off = false;
|
|
okx_ping_off = false;
|
|
|
okx_ping_time = Utc::now().timestamp();
|
|
okx_ping_time = Utc::now().timestamp();
|