extend mio client to allow reconnection

This commit is contained in:
2024-04-16 13:08:10 +02:00
parent b5e048a13b
commit 8ce305491b
6 changed files with 100 additions and 25 deletions

View File

@ -113,7 +113,7 @@ impl TmFunnelDynamic {
.expect("Creating TM zero copy writer failed");
self.common.apply_packet_processing(zero_copy_writer);
self.common.sync_tm_tcp_source.add_tm(&tm.packet);
let result = self.tm_udp_server_tx.send(tm);
let result = self.tm_udp_server_tx.send(tm.clone());
if result.is_err() {
log::error!("TM UDP server has disconnected");
}