Category Archives: Protocals

Protocals.

Connect socket.io with node.js

WebSocket with Socket.IO If you’ve stayed on top of the advances in the realtime web for the past few years, you’ve probably heard of different techniques aimed to reduce the latency (ie: speed) of the message exchange between a client … Continue reading

Posted in Node.js, Protocals | Tagged , , | Leave a comment

TCP Sockets Programming in Node.js

Programming TCP Sockets in Node.js Eager to know how sockets are programmed in Node? There are three variants of sockets in Node – i. TCP, ii. UDP, iii. UNIX domain. In this particular post, I will show you the basics … Continue reading

Posted in Node.js, Protocals, Web development | Tagged , | Leave a comment

Connect websocket to node.js

What is the WebSocket API? The WebSocket API is the next generation method of asynchronous communication from client to server. Communication takes place over single TCP socket using the ws (unsecure) or wss(secure) protocol and can be used by any client or server … Continue reading

Posted in Node.js, Protocals, Web development | Tagged , , | Leave a comment