I'm currently implementing a tftp client which works with udp packets. I'm
experiencing a really weird issue. I have an scenario where the server
sends some packets in the same "group", then I acknowledge that group of
packets. This group is called a window. When the window has a size of 6 or
less packets the file transfer succeeds:
client............server
<< 6 packets
1 ack >>
<< 6 packets
1 ack >>
...
When I use a window size of 7 or bigger, the socket begins to work
incorrectly, some packets are dropped/not emitted. Whilst the wireshark
traffic capture clearly shows that the server sends X packets in a group,
Node.js returns less than X.
An example (window size of 10):
This is what I receive in the node land:
client............server
<< packet1
<< packet2
<< packet3
<< packet4
<< packet5
<< packet6
<< packet7
And this is what wireshark is capturing:
client............server
<< packet1
<< packet2
<< packet3
<< packet4
<< packet5
<< packet6
<< packet7
<< packet8
<< packet9
<< packet10
Any ideas? I can prepare some wireshark captures with different window
sizes and what I receive in node.js if this can help.
--
--
Job Board: http://jobs.nodejs.org/
Posting guidelines:
https://github.com/joyent/node/wiki/Mailing-List-Posting-Guidelines
You received this message because you are subscribed to the Google
Groups "nodejs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/nodejs?hl=en?hl=en
---
You received this message because you are subscribed to the Google Groups
"nodejs" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.