chipsenkbeil / over-there

Tool to enable editing, management, and execution remotely from "over there."
Apache License 2.0
0 stars 0 forks source link

Add ACK support to transport layer #8

Open chipsenkbeil opened 4 years ago

chipsenkbeil commented 4 years ago

ACK is the idea that the client of a request will send to the server a response for each packet it receives. The server would wait for some period of time and if it didn't receive an ACK for a packet, it would sent it again (for up to N retries).

Would need to link InputProcessor with OutputProcessor where upon receiving a new packet via the InputProcessor we could send out a special ACK packet via the OutputProcessor.

Additionally, the InputProcessor would need to be able to receive a special ACK packet and mark said packet cached in the OutputProcessor as having been received by the client.