mardi 18 avril 2017

How can I simulate packet loss for my Qt UDP program?

As a homework assignment, I wrote UDP server-client application that tries to correct errors in the UDP communication using checksums and through confirming correctly received packets.

The problem is that on localhost, all packets are received without a problem. I tried some packet tampering programs, but they all require communication through network interface.

How to simulate UDP packet loss on localhost loopback address?

Aucun commentaire:

Enregistrer un commentaire