构造函数 public DatagramSocket();
public DatagramSocket(int port);
public DatagramSocket(InetAddress laddr);
close()方法
send(DatagramPacket p)
receive(DatagramPacket p)
接受方的
DatagramPacket public
DatagramPacket(byte[] buf, int length)
发送方的
DatagramPacket public
DatagramPacket(byte[] buf, int length, InetAddress address, int port