How to intentionally delay TCP packets in one direction

Posted on


I’ve looked at this already: How to deliberately introduce a delay for incoming UDP packets

I am testing a server-client system, and need to delay messages from the server to the client by some specified delay — say 1ms. I don’t want packets in the other direction to be delayed.

Some sort of proxy software is completely acceptable. Any suggestions for windows?


WANem ( is a liveCD linux distro that let’s you manipulate traffic on the wire. You can limit bandwidth, introduce lag, jitter, lost packets, and a bunch of other cool things.

Just boot it in a spare PC or VM and create routes on your client and server and you’re all set.

Leave a Reply

Your email address will not be published. Required fields are marked *