Creating a Server in Node.js
From the previous article we got to know how to read and write files in Node.js. This article will help you to get to know about Clients and servers in Node.js First lets look at what client and server really means. When we browsing internet by using chrome or any other browser we request for some data. This is where the client send its request to get a response particular to the clients request. Then the server acts on the request of the client and send a response which we finally see as our search results. Basically considering the client ad server each computer can be uniquely identified by using their IP addresses.So when communicating they need to get connected through the IP addresses.So the information is shared using different protocols like http. This transferring data is called TCP where the data is transmitted through data packets from server to client. Using Node.js, we can use the same functionality to communicate with computers. Creating a Basic S...
Comments
Post a Comment