Network Working Group I. Hickson Internet-Draft Google, Inc. Intended status: Standards Track December 9, 2009 Expires: June 12, 2010 The Web Socket protocol draft-hixie-thewebsocketprotocol-65 Abstract The Web Socket protocol enables two-way communication between a user agent running untrusted code running in a controlled environment to a remote host that has opted-in to communications from that code. The security model used for this is the Origin-based security model commonly used by Web browsers. The protocol consists of an initial handshake followed by basic message framing, layered over TCP. The goal of this technology is to provide a mechanism for browser-based applications that need two-way communication with servers that does not rely on opening multiple HTTP connections (e.g. using XMLHttpRequest or