DatagramPacket « java.net « Java by API






1.new DatagramPacket(byte[] buffer, int bufferLength)
2.new DatagramPacket(byte[] buf, int length, InetAddress address, int port)
3.DatagramPacket: getAddress()
4.DatagramPacket: getData()
5.DatagramPacket: getPort()
6.DatagramPacket: getSocketAddress()