I get an error when it is connected to irc server of ustream using irc-js module.
It seems that irc server of ustream doesn't sent any data.
But irc-js module starts sending NICK command after recieving some data from irc sever of ustream.
Thus, irc-js times out.
Finally, rc-js module starts sending NICK command after recieving timeout message from irc sever of ustream.
Please help me.
irc-js version 0.2.26
--- test.js ---
var irc = require('irc-js');
var options = {
server : 'chat1.ustream.tv',
port : '6667',
encoding : null,
pass : 'password',
nick : 'username',
log : true,
die : false,
flood_protection : false,
user : {
hostname : 'localhost',
servername : 'chat1.ustream.tv',
username : 'username',
realname : 'username'
}
}
var ircInstance = new irc(options);
ircInstance.on('error', function(message) {
console.log(message);
});
ircInstance.connect(function() {
console.log('connected');
});
I get an error when it is connected to irc server of ustream using irc-js module. It seems that irc server of ustream doesn't sent any data.
But irc-js module starts sending NICK command after recieving some data from irc sever of ustream. Thus, irc-js times out. Finally, rc-js module starts sending NICK command after recieving timeout message from irc sever of ustream. Please help me.
irc-js version 0.2.26
--- test.js --- var irc = require('irc-js'); var options = { server : 'chat1.ustream.tv', port : '6667', encoding : null, pass : 'password', nick : 'username', log : true, die : false, flood_protection : false, user : { hostname : 'localhost', servername : 'chat1.ustream.tv', username : 'username', realname : 'username' } } var ircInstance = new irc(options); ircInstance.on('error', function(message) { console.log(message); }); ircInstance.connect(function() { console.log('connected'); });