I am curious about
var server = http.createServer(function(req, res) {
// something
}
server.listen(3000);
Is the server created and listening on port 3000 immediately after running this code block, or is it only created at first and then started listening after?