|
|
Back to UserFriendly Strip Comments Index
|
Argh, quick urgent question. :-) | by MrTrick | 2008-03-19 00:23:23 |
|
More info... | by MrTrick | 2008-03-19 01:04:44 |
| It may or may not happen, depending on the stack. |
by bwkaz |
2008-03-19 04:12:34 |
At least, I think. If your programs are communicating over 127.0.0.1, most stacks seem to copy that data directly from one program to the other; I don't think I've *ever* seen a delayed or dropped ACK over localhost. But I haven't done a lot of capturing of that traffic, either, so I don't know for sure.
The best way to figure out the behavior of your program in the presence of dropped packets is probably to go drop some packets. ;-) See if there's a way to add a firewall rule that will drop one out of 1000 packets or so on localhost (randomly chosen, e.g. with iptables' "random" match), on the port you're testing, and hopefully that should help. Note that I have serious doubts about the ability to do this on windows, but on Linux it shouldn't be that hard. All the tools are there, anyway. *BSD might be harder; I'm not sure what kind of packet matching ability the various BSDs have. |
|
[ Reply ] |
|
|
[Todays Cartoon Discussion]
[News Index]
|
|