Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.


+11 votes

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

asked in CSC335_Spring2019 by (1 point)

1 Answer

+5 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 (1 point)

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.