1.

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 SocketI have been asked this question in an interview.I'm obligated to ask this question of Web Sockets topic in division Sockets of JavaScript

Answer» CORRECT choice is (a) Long-lived TCP Socket

To elaborate: The client and SERVER communicate over a long-lived TCP socket FOLLOWING rules defined by the WEBSOCKET protocol.


Discussion

No Comment Found

Related InterviewSolutions