public interface DatagramPacket
Modifier and Type | Method and Description |
---|---|
Buffer |
data()
Returns the data of the
DatagramPacket |
java.net.InetSocketAddress |
sender()
Returns the
InetSocketAddress of the sender that send this DatagramPacket . |
java.net.InetSocketAddress sender()
InetSocketAddress
of the sender that send this DatagramPacket
.Buffer data()
DatagramPacket