Re:Show HN: An open source IRC client for your web browser
by de90 on Friday February 01, 2013 @10:45AM
(#5151330)
What about WebSockets, aren't they TCP?
[ Parent
| on HN ]
Re:Show HN: An open source IRC client for your web browser
by Wilya on Friday February 01, 2013 @11:04AM
(#5151471)
Not directly. More like TCP-like messaging over HTTP. The server needs to understand the websockets protocol.
Writing a basic server that strips the websockets part from messages and forwards them to a real TCP server isn't very hard, but it's still a server you need.
Re:Show HN: An open source IRC client for your web browser
by icebraining on Friday February 01, 2013 @11:55AM
(#5151848)
It's not really "over HTTP", it's just an HTTP handshake:
The WebSocket Protocol is an independent TCP-based protocol. Its
only relationship to HTTP is that its handshake is interpreted by
HTTP servers as an Upgrade request.
http://tools.ietf.org/html/rfc6455#section-1.7