Web Development Node.js Subjective
Aug 16, 2025

How do you implement real-time communication using WebSockets?

Detailed Explanation
Use Socket.io or ws library. Server: create WebSocket server, handle connections/messages. Client: establish connection, send/receive messages. Features: rooms, namespaces, broadcasting, fallback to polling, authentication.
Discussion (0)

No comments yet. Be the first to share your thoughts!

Share Your Thoughts
Feedback