mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Fixed small bug. Updated TODO.
This commit is contained in:
parent
7c40150c59
commit
65a198ffa5
|
@ -310,8 +310,7 @@ uint32_t missing_packets(int connection_id, uint32_t * requested)
|
||||||
uint32_t number = 0;
|
uint32_t number = 0;
|
||||||
uint32_t i;
|
uint32_t i;
|
||||||
uint32_t temp;
|
uint32_t temp;
|
||||||
|
if(recvqueue(connection_id) >= (BUFFER_PACKET_NUM - 1))//don't request packets if the buffer is full.
|
||||||
if(recvqueue(connection_id) >= BUFFER_PACKET_NUM)//don't request packets if the buffer is full.
|
|
||||||
{
|
{
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,6 +1,10 @@
|
||||||
Things to do now:
|
Things to do now:
|
||||||
|
|
||||||
-Network protocol for clients when they know their ips.
|
-Network protocol (Done)
|
||||||
|
|
||||||
|
-Figure out the best way to do "lossless" UDP. (Done)
|
||||||
|
|
||||||
|
-Start work on the im protocol.
|
||||||
|
|
||||||
-Start coding the gui
|
-Start coding the gui
|
||||||
|
|
||||||
|
@ -11,7 +15,7 @@ Things to do now:
|
||||||
It looks pretty good so far
|
It looks pretty good so far
|
||||||
It's licenced under the WTFPL which is perfect.
|
It's licenced under the WTFPL which is perfect.
|
||||||
|
|
||||||
-Figure out the best way to do "lossless" UDP.
|
-Find and fix bugs in the code.
|
||||||
|
|
||||||
Things to do later:
|
Things to do later:
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user