dalejung / inode

Interactive Node.js
MIT License
3 stars 1 forks source link

make ports random and configurable #3

Open dalejung opened 11 years ago

dalejung commented 11 years ago

right now the ports are hardcoded and thus only one inode instance can be up. I need to randomize the ports, which is fine but i also need to make port number something I can pass in so I can sync server/client.

dalejung commented 11 years ago

var args = process.argv.splice(2);

future reference