mirror of
https://github.com/YGGverse/aquatic.git
synced 2026-03-31 09:45:31 +00:00
udp: open one socket each for IPv4 and IPv6 (#220)
* tmp work on udp double sockets * WIP: udp: open two sockets (one for ipv4, one for ipv6) io_uring not ported yet * udp: open one socket each for IPv4 and IPv6 Config file now has one setting for each * file transfer ci: fix udp network.address_ipv4
This commit is contained in:
parent
192b22fcdd
commit
048c297fc7
19 changed files with 863 additions and 525 deletions
|
|
@ -71,13 +71,13 @@ impl aquatic_common::cli::Config for Config {
|
|||
#[serde(default, deny_unknown_fields)]
|
||||
pub struct NetworkConfig {
|
||||
/// Bind to this address
|
||||
///
|
||||
///
|
||||
/// When providing an IPv4 style address, only IPv4 traffic will be
|
||||
/// handled. Examples:
|
||||
/// - "0.0.0.0:3000" binds to port 3000 on all network interfaces
|
||||
/// - "127.0.0.1:3000" binds to port 3000 on the loopback interface
|
||||
/// (localhost)
|
||||
///
|
||||
///
|
||||
/// When it comes to IPv6-style addresses, behaviour is more complex and
|
||||
/// differs between operating systems. On Linux, to accept both IPv4 and
|
||||
/// IPv6 traffic on any interface, use "[::]:3000". Set the "only_ipv6"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue