Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

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?

share|improve this question
    
Are you using HTTP/S? The tool Fiddler2 functions as a SOCKS proxy and will allow you to slow down or otherwise manipulate HTTP requests for testing purposes. –  Darth Android Jun 10 '13 at 16:33
    
Unfortunately, no. Straight sockets, as far as I can tell. I didn't write the server or client. Just testing what happens with two clients receive events at "noticeably" different times. –  Dilum Ranatunga Jun 10 '13 at 16:41
add comment

1 Answer

WANem (http://wanem.sourceforge.net/) 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.

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.