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);    }    this._lastID = Math.round(Math.random() * DCC_ID_MAX);    return this;}
meta: 1567	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1567/fa35c1e0befdff66ae34d063f138fb39bd511c84/dcc.js/buggy/js/lib/dcc.js