Code example for DatagramPacket

Methods: getData, getLength, getOffset, setAddress, setLength, setPort