mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-04-01 02:05:30 +00:00
add aquatic_common_tcp crate, move common functionality there
This commit is contained in:
parent
1eaf2a0351
commit
2e53a2adc1
14 changed files with 163 additions and 127 deletions
|
|
@ -1,4 +1,4 @@
|
|||
use std::net::{SocketAddr, IpAddr};
|
||||
use std::net::SocketAddr;
|
||||
use std::sync::Arc;
|
||||
|
||||
use flume::{Sender, Receiver};
|
||||
|
|
@ -34,7 +34,7 @@ pub enum PeerStatus {
|
|||
}
|
||||
|
||||
|
||||
// identical to ws version - FIXME only if bytes left is optional
|
||||
// almost identical to ws version - FIXME only if bytes left is optional
|
||||
impl PeerStatus {
|
||||
/// Determine peer status from announce event and number of bytes left.
|
||||
///
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue