title: Will Websockets allow a server to run in the browser?
body: <p>Are there any plans for a Websockets listen function?</p>
  
  <p>Allowing peer to peer applications in the browser could be revolutionary.</p>
  
  <p>I found this answer: <a href="https://stackoverflow.com/questions/1032006/will-html5-allow-web-apps-to-make-peer-to-peer-http-connections/1032150#1032150">Will HTML5 allow web apps to make peer-to-peer HTTP connections?</a> but it is rather old. I think the specification it refers to (the Connection api) has now been replaced with Websockets, which does not mention any listen facility.</p>