diff --git a/lib/adb.js b/lib/adb.js index c789cf8..f5f1c49 100644 --- a/lib/adb.js +++ b/lib/adb.js @@ -123,7 +123,8 @@ Connection.prototype.exec = function exec(cmd, callback, opts) { if (!socket) { socket = this.socket = net.connect({ - port: this.port + port: this.port, + family: 4 }, function () { DEBUG && console.log('[' + this.connNum + '] CONNECTED');