Socket.IO using node.js and express


In node.js enables real time event based communication. What that means is that we can communicate to the server from the client and in return the server can talk back to the client. Socket.IO uses WebSockets when it can and has fail overs if the browser does not support it.

Step by Step implementation of using node.js.

Step 1: In first step I am assuming that you have already created the project using express.js and node.js. If you didn’t do that then please read my previous blog and create the project. After that just install module.

Step 2: Now go to app.js there we will require and connect socket with our server.

Read more about Socket.IO using node.js and express visit Findnerd.

Socket.IO using node.js and express

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s