Struct multicast_socket::MulticastOptions [−][src]
pub struct MulticastOptions { pub read_timeout: Duration, pub loopback: bool, pub buffer_size: usize, pub bind_address: Ipv4Addr, }
Fields
read_timeout: Duration
loopback: bool
buffer_size: usize
bind_address: Ipv4Addr
The address to bind the socket to.
Usually this will be Ipv4Addr::UNSPECIFIED, in order to listen for packets on all interfaces.