title: Android - Receiving UDP packets in different ports
body: <p>I'm in a trouble receiving UDP packets in Android. </p>
  
  <p>I'm receiving them form my server.The problem is that I need to change my udp port every 3 minutes, so I send a request to my server from my new port, and then keep blocked in the socket.receive() method. My server send the packet to that new port, but the problem is that my App doesn't receive it although it's in the receive() method and in the correct port.</p>
  
  <p>Before this I tried to be always listening and sending in the same port, and the app worked fine.</p>
  
  <p>Thanks in advance for the help </p>