...
This commit is contained in:
parent
36ad2878cc
commit
71a0c65a29
@ -28,6 +28,6 @@ handler.queryEntry = function(msg, session, next) {
|
||||
|
||||
let host = res.proxyHost || res.clientHost || res.host;
|
||||
let port = res.proxyPort || res.clientPort || res.port;
|
||||
next(null, {code: Code.OK, host: host, port: res.clientPort});
|
||||
next(null, {code: Code.OK, host: host, port: port});
|
||||
}
|
||||
|
||||
|
@ -21,7 +21,7 @@ client.on("data", function (data) {
|
||||
setTimeout(() => {
|
||||
|
||||
game = new net.Socket();
|
||||
console.log(data.port+1000, data.host);
|
||||
console.log(data.port, data.host);
|
||||
game.connect(data.port, data.host, function () {
|
||||
console.log("Connected");
|
||||
game.write("entry");
|
||||
|
Loading…
x
Reference in New Issue
Block a user