title: Understanding of WebSockets
body: <p>My understanding is that a socket corresponds to a network identifier, port and TCP identifier. [1]</p>
  <p>Operating systems enable a process to be associated with a port (which IIUC is a way of making the process addressable on the network for inbound data).</p>
  <p>So a WebSocket server will typically be associated with a port well-known for accepting and understanding HTTP for the upgrade request (like 443) and then use TCP identifiers to enable multiple network sockets to be open concurrently for a single server process and a single port.</p>
  <p>Please can someone confirm or correct my understanding?</p>
  <p>[1] <em>&quot;To provide for unique names at
  each TCP, we concatenate a NETWORK identifier, and a TCP identifier
  with a port name to create a SOCKET name which will be unique
  throughout all networks connected together.&quot;</em> <a href="https://www.rfc-editor.org/rfc/rfc675" rel="nofollow noreferrer">https://www.rfc-editor.org/rfc/rfc675</a></p>