Better HN
top
new
best
ask
show
jobs
Log in
Sign up
Better HN
Comment
by
api
· 9y ago · 0 comments
That would be in the headers and prior to protocol breakout. I'm talking about after that. Why does web sockets have an extra layer of framing and other nonsense? Not to mention other "modes of operation." It's a socket. Give me a socket.
Comments
[–]
toomim
9y ago
No kidding. It's just a new version of TCP, implemented on top of HTTP, which is implemented on top of TCP.
[–]
lisivka
9y ago
Because of firewalls, proxies, and NAT.
[–]
api
OP
9y ago
You already have a TCP connection, so NAT and firewalls don't matter here. Proxies have to be web socket aware anyway.