diff options
Diffstat (limited to 'docs/Lossless_UDP.txt')
-rw-r--r-- | docs/Lossless_UDP.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/Lossless_UDP.txt b/docs/Lossless_UDP.txt index bbfd2ad1..1159feb6 100644 --- a/docs/Lossless_UDP.txt +++ b/docs/Lossless_UDP.txt | |||
@@ -53,7 +53,7 @@ Lossless UDP: | |||
53 | If the handshake was done: | 53 | If the handshake was done: |
54 | Start sending SYNC packets. | 54 | Start sending SYNC packets. |
55 | Add +1 to the counter of the SYNC packets we send. | 55 | Add +1 to the counter of the SYNC packets we send. |
56 | Check to see if any packets were dropped when sending them to us (compare sent_packetnum with the number of packets we recieved.) | 56 | Check to see if any packets were dropped when sending them to us (compare sent_packetnum with the number of packets we received.) |
57 | If some were, The next SYNC packets we send will be request packets requesting the missing packets. | 57 | If some were, The next SYNC packets we send will be request packets requesting the missing packets. |
58 | Check if the other client received what we sent him (compare recv_packetnum with the number of packets we sent) and clear them from the buffer. | 58 | Check if the other client received what we sent him (compare recv_packetnum with the number of packets we sent) and clear them from the buffer. |
59 | If the packet is a request packet. | 59 | If the packet is a request packet. |
@@ -81,7 +81,7 @@ Lossless UDP: | |||
81 | 81 | ||
82 | Keep track of the percent of packets dropped, if it is too high, lower the send rate. If it is low, increase it. | 82 | Keep track of the percent of packets dropped, if it is too high, lower the send rate. If it is low, increase it. |
83 | 83 | ||
84 | Have a send packets buffer that we can write to and a recieved packets buffer that we can read from. | 84 | Have a send packets buffer that we can write to and a received packets buffer that we can read from. |
85 | 85 | ||
86 | 86 | ||
87 | 87 | ||