
UdpPacket encapsulates an IpAddress, port, and payload of bytes to send or receive from a UdpSocket.
Slots
- address
-
IpAddress address
The send or receive IpAddress. Defaults to null.
- data
-
Buf data
The payload to send or received. Defaults to null.
- make
-
new make(IpAddress addr := def, Int port := def, Buf data := def)
Construct a new UdpPacket.
- port
-
Int port
The send or receive port number. Defaults to null.