The Daily Static
  The Daily Static
UF Archives
Register
UF Membership
Ad Free Site
Postcards
Community

Geekfinder
UFie Gear
Advertise on UF

Forum Rules
& FAQ


Username

Password


Create a New Account

 
 

Back to UserFriendly Strip Comments Index

Argh, quick urgent question. :-) by MrTrick2008-03-19 00:23:23
  More info... by MrTrick2008-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]

Come get yer ARS (Account Registration System) Source Code here!
All images, characters, content and text are copyrighted and trademarks of J.D. Frazer except where other ownership applies. Don't do bad things, we have lawyers.
UserFriendly.Org and its operators are not liable for comments or content posted by its visitors, and will cheerfully assist the lawful authorities in hunting down script-kiddies, spammers and other net scum. And if you're really bad, we'll call your mom. (We're not kidding, we've done it before.)