pub struct Transmit {
pub source: SocketAddr,
pub destination: SocketAddr,
pub contents: DatagramSend,
}
Expand description
An outgoing packet
Fields§
§source: SocketAddr
The source socket this packet should be sent from.
For ICE it’s important to match up outgoing packets with source network interface.
destination: SocketAddr
This socket this datagram should be sent to.
contents: DatagramSend
Contents of the datagram.