DatagramSocket « java.net « Java by API






1.new DatagramSocket()
2.new DatagramSocket(int port)
3.DatagramSocket: receive(DatagramPacket packet)
4.DatagramSocket: send(DatagramPacket p)