Professional Documents
Culture Documents
Socket.io
Realtime, bi-directional and event-based communication between the browser
and server.
Server – NodeJS
Brower – JS client library
Socket
TCP
• Transmission Control Protocol – Chat Application
• Reliable communication
• Delivery Guarantee
• Bi-directional.
UDP
• Unreliable delivery – Broadcast, Multicast
• No guarantee
• Can send/receive.
can be used with other array methods, such cannot be used with other array methods.
as the filter() method
In Client-Server Network,
While in Peer-to-Peer Network,
3. Centralized server is used to store
Each peer has its own data.
the data.