Compare commits

..

No commits in common. "8734d8180c69befd79d8ce8e501ec97eab7ca7e5" and "0a35d7f062e57843da38299e07e7f4e3cd610018" have entirely different histories.

2 changed files with 2 additions and 2 deletions

2
dist/socket.js vendored
View File

@ -21,7 +21,7 @@ class Socket extends streamx_1.Duplex {
if (!type) {
throw Error("invalid remoteAddress");
}
this.remoteFamily = type === 6 ? IPV6 : IPV4;
this.remoteFamily = type === 6 ? IPV4 : IPV6;
}
}
_connecting;

View File

@ -48,7 +48,7 @@ export default class Socket extends Duplex {
throw Error("invalid remoteAddress");
}
this.remoteFamily = type === 6 ? IPV6 : IPV4;
this.remoteFamily = type === 6 ? IPV4 : IPV6;
}
}