add: invite codes
This commit is contained in:
parent
d1a074eaeb
commit
626c6711ef
19 changed files with 410 additions and 10 deletions
|
@ -1,7 +1,7 @@
|
|||
use std::net::SocketAddr;
|
||||
|
||||
/// How many bytes should be taken as the prefix (from the begining of the address).
|
||||
pub(crate) const IPV6_PREFIX_BYTES: usize = 16;
|
||||
pub(crate) const IPV6_PREFIX_BYTES: usize = 11;
|
||||
|
||||
/// The protocol of a [`RemoteAddr`].
|
||||
#[derive(Clone, Debug, PartialEq, Eq)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue