I guess when NASA circulates an eBook on communicating with Aliens it might be worth checking out. I didn’t read it yet though – so don’t blame me if you get frustrated.
Jason Gerfen wrote a package for using nmap with node.js if you’re interested.
“This is a Node.js module that can scan a network for computers using nmap.
It uses the nmap program to either discover local computers in the same network address range or scan a network of remote computers within a given range.
It outputs a listing of details computers found including IP addresses as well opened ports that were found.”