title: Java: Sending/Recieving Udp packet in Device being behind wi-fi router
body: <p><strong>I want to</strong> </p>
  
  <ol>
  <li>Recieve UDP message on device when it is connected through wi-fi</li>
  <li>Know how to send udp message on device when it is connected to wi-fi
      router as the sender on diffrent network</li>
  </ol>
  
  <p><strong>What i have tried</strong>
   <a href="http://code.google.com/p/boxeeremote/wiki/AndroidUDP" rel="nofollow">http://code.google.com/p/boxeeremote/wiki/AndroidUDP</a></p>
  
  <p><strong>What is working</strong></p>
  
  <ol>
  <li><p>UDP messeges are being recieved on device when it is connected
  through 2g/3g data service</p></li>
  <li><p>UDP messeges are being recieved when sender and reciever are both in
      same network ( behind wi-fi router )</p></li>
  </ol>
  
  <p>Any help/point in right direction is appreciated. </p>