Welcome to the CSC Q&A.
Get help and give help!
Write great code!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+9 votes

Does anyone have a good strategy for testing the UDP server/client classes once our implementation is done?.

asked in CSC335_Spring2019 by (3.1k points)

1 Answer

+4 votes

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.

answered by (918 points)
+2

Also! If Windows firewall asks for permission you have to say yes! If you say no you'll end up like Chase and I who couldn't test our fake firewalls because a real one was stopping us.

...