Add lots of Println statements. You should have one before and after every time you are trying to send or receive a packet, and you should also print out the data of the packet you are receiving/sending. Wireshark is also very helpful if you want to try sending between two different computers.