wouldn't this be cleaner written if it wasn't a "IF NOT" IE if(this.settings.socket){ // something with unix sockets } else{ // something without sockets {
?