CyberSamurai0 / P2P-Transmitter

MIT License
0 stars 1 forks source link

Implement Packet Queueing #13

Open CyberSamurai0 opened 1 day ago

CyberSamurai0 commented 1 day ago

Packets can be generated at high speeds based on stdin, so we need to build a linked list for backlogging.

Packets need to be transmitted in FIFO order (queue-style).

CyberSamurai0 commented 1 day ago

Implement a similar Linked List approach to that of the existing Packet struct, but the Packet struct itself should be wrapped in a PacketListItem so that we do not have to mess with our existing structure.

Packets by themselves do not have a "next packet", but Bytes should always be kept in sequence with one another.

CyberSamurai0 commented 1 day ago

Declarations created in aa3ded0a705ed7f0a625b8b27a2ffaf12c8ee901, needing push/pop functions and implementation