Struct diffusion::MulticastWriter
[−]
[src]
pub struct MulticastWriter { /* fields omitted */ }
is writer for multicast.
MulticastWriter
uses the natual UDP packet as message boundary.
Methods
impl MulticastWriter
[src]
fn new(addr: SocketAddrV4) -> Result<MulticastWriter>
returns a new instance of MulticastWriter
.
addr
is the address the sending socket binds to, and also the address that it sends to.