diff --git a/relay/index.js b/relay/index.js index 611578c..faa3793 100644 --- a/relay/index.js +++ b/relay/index.js @@ -5,18 +5,21 @@ const { config } = require('./../package.json'); title('relay'); -let connection = null; +// let connection = null; -(function tryConnect() { - connection = net.createConnection(config.ports.ns, 'valnet.xyz', () => { - log.success('Connected to name server'); - }); - connection.on('error', () => { - log.error('Could not connect to name server') - connection = null; - tryConnect(); - }); - connection.on('data', (data) => { - log.debug(data.toString()); - }) -})(); \ No newline at end of file +// (function tryConnect() { +// connection = net.createConnection(config.ports.ns, 'valnet.xyz', () => { +// log.success('Connected to name server'); +// }); +// connection.on('error', () => { +// log.error('Could not connect to name server') +// connection = null; +// tryConnect(); +// }); +// connection.on('data', (data) => { +// log.debug(data.toString()); +// }) +// })(); + + +setTimeout(() => {}, 1000) \ No newline at end of file