mirror of
https://github.com/tribufu/node-gamedig
synced 2026-05-06 15:17:36 +00:00
Made protocols a bit more error resistant
This commit is contained in:
parent
d6d7fee80f
commit
a6338df070
4 changed files with 19 additions and 10 deletions
|
|
@ -22,6 +22,9 @@ udpSocket.on('message', function(buffer, rinfo) {
|
|||
break;
|
||||
}
|
||||
});
|
||||
udpSocket.on('error', function(e) {
|
||||
if(Gamedig.debug) console.log("UDP ERROR: "+e);
|
||||
});
|
||||
|
||||
Gamedig = {
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue