DatagramPacket « Network Protocol « Java






1.Get data from DatagramPacket
2.Get address and port from DatagramPacket
3.Create DatagramPacket from byte array
4.Sends the specified text or file as a datagram to the specified port of the specified host
5.Waits to receive datagrams sent the specified portWaits to receive datagrams sent the specified port