Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- var net = require("net"), client = net.connect({port:43, host:"riswhois.ripe.net"}, function() {
- console.log("connected to server!");
- client.write("-M -F 0.0.0.0/0\n");
- });
- client.on("data", function(a) {
- process.stdout.write(a.toString());
- client.end();
- });
- client.on("end", function() {
- console.log("done");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement