Category: tcp/ip
If a port has been pocessed by a process/application/program, you cannot listen to it. Usually, an exception of “Address in Use – cannot bind” will be thrown. That is, …
February 9, 2013
beginner, client-server, http, I/O File, implementation, internet, javascript, network, nodejs, programming languages, sockets, tcp/ip
Previous tutorials on node.js could be found here: We have learned to create a http server by using require(‘http’) and http.createServer(…).listen(port). The node.js is based on Javascript and event-driven model, which means that the events happen later …