1

I can read the content of the packets, but I don't know how to delay them.

(I am not fluent in English.)

Kevin Panko
  • 8,356
  • 19
  • 50
  • 61

1 Answers1

3

Packet capture doesn't allow you to prevent a packet being sent. It is for monitoring only. If you want to delay a packet you need a device e.g. a multi-homed PC, to sit between your system and rest of the network. This can be used to capture on one network interface and copy packets to a second interface with what ever delay you want.

If you want to do this in software you can create a TCP proxy server and have your software connect to it.

Peter Lawrey
  • 525,659
  • 79
  • 751
  • 1,130
  • @user3137176 A TCP proxy server just listen on one port and connects to a hostname/port of your choice when a new connection comes in. You can have two threads, one copying out and the other copying back in. You can also add a delay, either fixed or based on a bandwidth limitation. – Peter Lawrey Dec 26 '13 at 17:56