-j: # of concurrent downloads-s: connections to use per file-x: maximum connections to one server for a file--file-allocation=none: don't allocate disk space before downloading--max-tries=N: retry N times (0 for infinite)--retry-wait=N: wait for N secs before trying a failed connection again--auto-file-renaming=false: don't redownload if already downloaded--max-file-not-found=N: ignore 404s N times (0 for infinite)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| var udp = require('dgram'); | |
| // --------------------creating a udp server -------------------- | |
| // creating a udp server | |
| var server = udp.createSocket('udp4'); | |
| // emits when any error occurs | |
| server.on('error',function(error){ | |
| console.log('Error: ' + error); |