context: function CIRCDCC(parent){    this.parent = parent;        this.users = new Object();    this.chats = new Array();    this.files = new Array();    this.last = null;    this.lastTime = null;        this.sendChunk = 1024;    this.maxUnAcked = 0;        this.requestTimeout = 3 * 60 * 1000; // 3 minutes.        // Can't do anything 'til this is set!    //FIXME: Can we use Moz's Components here?    this.localIPlist = new Array();    this.localIP = null;    this._lastPort = null;        try {        var dnsComp = Components.classes["@mozilla.org/network/dns-service;1"];        this._dnsSvc = dnsComp.getService(Components.interfaces.nsIDNSService);                // Get local hostname.        if ("myHostName" in this._dnsSvc) {            // Using newer (1.7a+) version with DNS re-write.            this.addHost(this._dnsSvc.myHostName);        }        if ("myIPAddress" in this._dnsSvc) {            // Older Mozilla, have to use this method.            this.addIP(this._dnsSvc.myIPAddress);        }        this.addHost("localhost");    } catch(ex) {        // what to do?        dd("Error getting local IPs: " + ex);    }        return this;}
meta: 5872	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/5872/4cd3ec76af2e3a9922c2d114bf4267b40b388ac2/dcc.js/clean/extensions/irc/js/lib/dcc.js