Browse Source

fix: timeout 발생

feature/socket
지대한 7 months ago
parent
commit
71aee790ca
  1. 2
      socket-test/pav-client.js

2
socket-test/pav-client.js

@ -6,7 +6,7 @@ const getConnection = (connName, host, port) => {
console.log(connName + ' Connected: ');
console.log(' local = %s:%s', this.localAddress, this.localPort);
console.log(' remote = %s:%s', this.remoteAddress, this.remotePort);
this.setTimeout(1000);
this.setTimeout(5000);
this.setEncoding('utf8');
this.on('data', function (data) {
console.log(connName + " From Server: " + data.toString());

Loading…
Cancel
Save