If I use DatagramPacket class I can send and receive udp packets. Ok, but, can I be sure that I will receive only packets from the address I am sending packets to? Or I can receive udp packets on that (randomly assigned) port from any address? If so, I have to check the origin of every received udp packets and ignore not interesting packets.