Struct diffusion::MulticastReader
[−]
[src]
pub struct MulticastReader { // some fields omitted }
is reader for multicast. Reads the UDP packet multicasted from writer. Each packet is a message.
Methods
impl MulticastReader
fn new(addr: SocketAddrV4) -> Result<MulticastReader>
returns a new instance of MulticastReader
.
Binds to addr
.