Expand description
§VCL Connection Configuration
VCLConfig controls how a VCLConnection handles transport and reliability.
Use one of the preset constructors for common scenarios, or build your own:
use vcl_protocol::config::{VCLConfig, TransportMode, ReliabilityMode};
// Use a preset
let vpn_config = VCLConfig::vpn();
let gaming_config = VCLConfig::gaming();
// Or build custom
let custom = VCLConfig {
transport: TransportMode::Udp,
reliability: ReliabilityMode::Partial,
max_retries: 3,
retry_interval_ms: 50,
fragment_size: 1200,
flow_window_size: 32,
};Structs§
- VCLConfig
- Full configuration for a VCL connection.
Enums§
- Reliability
Mode - Reliability guarantee for packet delivery.
- Transport
Mode - Transport protocol used by the connection.