What is the purpose of the websocket close handshake?

Viewed 330

Why does the RFC require peers to send a close frame and then wait for a close frame from the peer? Why not just send the frame and then close the TCP connection?

0 Answers
Related