How does the client and the server communicate following the rules defined by the WebSocket protocol?
(a) Long-lived TCP Socket
(b) Short-lived TCP Socket
(c) UDP Socket
(d) HTTP Socket
I have been asked this question in an interview.
I'm obligated to ask this question of Web Sockets topic in division Sockets of JavaScript