Java + Arduino + WiFly GSX RN-131g Breakout

Hi!

So what i would like to know how u get WiFly to listen to a port. For example: Java sends an UDP packet to port “1337” via Wifi network then WiFly picks it up and sends data to arduino. Oh yea and it dosent need to be UDP it can be TCP. I looked around the interwebs for this and didn’t find anything :confused:

Sure java code is simple but how to set up the WiFly is a mystery to me :stuck_out_tongue:

Thank u in advance.