hookio/hook.io — pull request #152 by emilisto (2012-01-15 21:10:36+00:00)
Title: Node mdns upgrade

- Upgraded node_mdns and added it as an npm dependency. hook.io can now be installed with mdns support by simply doing ``npm install hook.io`` =D

- Tests for mDNS discovery - it tries to spawn hooks on different ports and auto-discover them. Also the changed logic of start() is tested - making sure it doesn't end up dead locked. Because of how mDNS works these tests take about 70% of the total test time, but I'm looking for ways to shorten this time.

- Numerous bugs crushed, concerning spawning multiple mDNS hooks on one computer, not connecting to hooks with different hook-port specified although both are advertised through mDNS, etc.

Cheers