September 2018
Intermediate to advanced
412 pages
11h 12m
English
To run a receiver app on a PC, follow this sequence:
{ "name": "receiver", "version": "1.0.0", "description": "", "main": "index.js", "scripts": { "start": "node index.js", "test": "echo \"Error: no test specified\" && exit 1" }, "author": "", "license": "ISC" }
var http = require('http'); var querystring = require('querystring'); http.createServer(function (req, res) { req.on('data', function (chunk) { var data = querystring.parse(chunk.toString()); console.log(data); }); req.on('end', function () { res.writeHead(200, 'OK', {'Content-Type': ...