aboutsummaryrefslogtreecommitdiff
path: root/src/send.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/send.rs')
-rw-r--r--src/send.rs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/send.rs b/src/send.rs
index 20308e6..c41ad80 100644
--- a/src/send.rs
+++ b/src/send.rs
@@ -1,4 +1,6 @@
-use crate::*;
+use crate::{prelude::*, Ack, RudpShare};
+use byteorder::{BigEndian, WriteBytesExt};
+use std::io::{self, Write};
use tokio::sync::watch;
type AckResult = io::Result<Option<watch::Receiver<bool>>>;
@@ -50,6 +52,5 @@ impl<S: UdpSender> RudpShare<S> {
pub async fn send_raw(&self, data: &[u8]) -> io::Result<()> {
self.udp_tx.send(data).await
- // TODO: reset ping timeout
}
}