Mehdi Akiki

Posts tagged "tcp"

  • Published on

    Article · Through the layers

    WebSockets From the Wire Up

    Most WebSocket tutorials start at the API. This one starts at the wire — electrons, NIC interrupts, kernel socket buffers, the TCP state machine, the HTTP upgrade handshake, the binary frame format — and works up to what ws.send() actually does.