Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

TCP Retransmissions

Name: Anonymous 2009-01-04 23:05

Ordinarily, you're a terrible place to get code, /prog/, but I must yield.

I'm having trouble with AES encryption increasing on packet retransmissions, so I obviously must detect and discard retransmissions for encryption purposes. Since I'm using WinPcap, I figured that Ethereal would be a good place to go to see how it detects these events. I was wrong.

Example: http://pastebin.com/d165a8f15 [1]

I can't tell what the shit is going on with such ugly C code. Any of you have an enterprise-level solution to retransmission detection? Thanks for your time.

1: As accessed on 4 JAN 09 at 10 PM CST. It will evaporate within 24 hours.

Name: Anonymous 2009-01-06 23:15

Meanwhile, back on the farm
>>1
Trying to read and understand code can often be difficult for large or complicated projects (I tried to read through parts of ffmpeg once open source? more like why the fuck do I need to document anything?).

Try running the project through Doxygen to make it easier to to cross-reference. of course that didn't make ffmpeg any easier to understand

There's also a program I ran across once whose sole purpose was for reading, browsing, and cross-referencing C/C++ code. Don't have the link on my atm.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List