Earlier quoted context omitted.
Caution: loud
Opened this on my phone with headphones. I had an heartattack.
Ultrafast single TCP packet audio/visual experience
51–60 of 79 posts
Re: Ultrafast single TCP packet audio/visual experience
#52Re: Ultrafast single TCP packet audio/visual experience
#53 HTTP/1.1 200 k
Content-Length: 1163
content-encoding: deflate
I guess the '200 k' instead of '200 OK' saves an extra byte! :)However, since they don't do any HTTP keep-alives (the connection sends a HTTP response and closes before you even send it anything), couldn't they save some space by dropping the Content-Length? It's an optional header.
Re: Ultrafast single TCP packet audio/visual experience
#54Re: Ultrafast single TCP packet audio/visual experience
#55Earlier quoted context omitted.
This would be really great without the audio. Due to the sound of the audio my initial reaction is to be fascinated, followed immediately by discomfort.
Over the last 5 years I've learnt to set the default sound level on my computer to "mute"
Re: Ultrafast single TCP packet audio/visual experience
#56For those you are wondering, this is a webserver that serves an HTML page in a single TCP packet. I guess ≤ 1500 bytes to avoid fragmentation - shows as 1.1KB in Chrome's network view. The HTML contains embedded JavaScript that runs a simple demo with animated ASCII and playing a LOUD changing audio tone. You can visit the demonstration website here: http://packet.city/ You can see a screenshot of the demo here: http…
The limit is 1460 - the IP and TCP headers occupy 40 bytes. Out of those another 63 are consumed by the HTTP headers. The full TCP payload is only 1226 bytes though, and the full HTTP payload 1163 bytes. The decoded HTML document is 1546 bytes.
Re: Ultrafast single TCP packet audio/visual experience
#57Earlier quoted context omitted.
>"Out of those another 63 are consumed by the HTTP headers" I am curious how you ended up at 63 for that, can you elaborate?
Viewed the http headers and counted? Which you can do with curl, Chrome/Safari/FF dev tools, and lots of other tools besides.
Re: Ultrafast single TCP packet audio/visual experience
#58Earlier quoted context omitted.
The limit is 1460 - the IP and TCP headers occupy 40 bytes. Out of those another 63 are consumed by the HTTP headers. The full TCP payload is only 1226 bytes though, and the full HTTP payload 1163 bytes. The decoded HTML document is 1546 bytes.
IP header has flexible size, up to 60 bytes: https://networkengineering.stackexchange.com/questions/6855/...
From the paper "IP Options are not an option" which is good quick read:
"We have studied the dependability of IP options-enabled network packets in the Internet. We found that overall, approximately half of Internet paths drop packets with options"[1]
[1] https://www2.eecs.berkeley.edu/Pubs/TechRpts/2005/EECS-2005-...