Fixed small bug. Updated TODO.

This commit is contained in:
irungentoo 2013-07-01 10:15:04 -04:00
parent 7c40150c59
commit 65a198ffa5
2 changed files with 7 additions and 4 deletions

View File

@ -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;
} }

View File

@ -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: