-
-
Notifications
You must be signed in to change notification settings - Fork 33.3k
Closed
Labels
dgramIssues and PRs related to the dgram subsystem / UDP.Issues and PRs related to the dgram subsystem / UDP.questionIssues that look for answers.Issues that look for answers.
Description
Hi.
My Node app doesn't send some UDP packets.
It happens on different versions of Node (5.1.1, 0.10.x) and on different OSes (Win 10 and Raspbian (RPI Debian)).
Here's the one for reproduction:
var dgram = require("dgram");
var udpServer = dgram.createSocket("udp4");
var port = 14000;
var host = '172.16.0.7';function send(data) {
>//console.log('s', data);
>udpServer.send(data, 0, data.length, port, host);
};setInterval(function(){
for (var i=0; i<33; i++) {
send(new Buffer("fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff"));
}
}, 1000);
I guess it is the same issue: nodejs/node-v0.x-archive#6696
Wireshark shows that not all packets are sent, for example sequence ID of next packet can be bigger on 5 or even 15.
Metadata
Metadata
Assignees
Labels
dgramIssues and PRs related to the dgram subsystem / UDP.Issues and PRs related to the dgram subsystem / UDP.questionIssues that look for answers.Issues that look for answers.