ccie18643 / PyTCP

PyTCP is a fully functional TCP/IP stack written in Python. It supports TCP stream-based transport with reliable packet delivery based on a sliding window mechanism and basic congestion control. It also supports IPv6/ICMPv6 protocols with SLAAC address configuration. It operates as a user space program attached to the Linux TAP interface.
GNU General Public License v3.0
345 stars 35 forks source link

Add nagle's algorithm #7

Open shoham-b opened 2 years ago

shoham-b commented 2 years ago

Add the possibility to use [https://en.wikipedia.org/wiki/Nagle%27s_algorithm?wprov=sfla1](nagle's algorithm).

This should come with the possibility of turning off the delayed ack due to collision between the two.

ccie18643 commented 2 years ago

So to be honest last time i actually worked on TCP implementation was almost year ago and i left it then in a 'good enough for now' state with the intntion of improving it over time. Of course i never had chance to get back to it again. This definitely should be added to TODO list and of course if you could propose the code change to implement it that would be welcomed too. Thank you.

ccie18643 commented 1 week ago

If anyone is interested implementing this please do. If not, I'll get back to it after version 3.0 is released sometime in 2025.