Skip to content
Snippets Groups Projects
Commit 86e9f99a authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Do some of that refactor

Add a nextPacket() method that will get the next packet
Add a Connection.parseBytes() method to consume the rx_buf
Simplify Packet.newBytes() to only do socket recv()
Clear RX buffer when closing socket
parent a0b9a6db
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment