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

Make it possible to import pytcp as a library #6

Closed shoham-b closed 1 year ago

shoham-b commented 2 years ago

Currently, pytcp can be run as a script, using pytcp.py

It would have been nice to be able to import it as a library.

To do this a few things should be done -

I'd love to do that, just opening an issue to open it up for discussion.

ccie18643 commented 2 years ago

I was actually thinking about this for some time but never really got chance to get to it. Please feel free to work on it. Just make sure you use the PyTCP_2_6 branch. Thank you.

ccie18643 commented 1 year ago

This is going to be implemented in 2.7.