mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Updated docs.
This commit is contained in:
parent
d1837342e0
commit
f7574c61fc
|
@ -39,6 +39,8 @@ See: [docs/TODO.txt](https://github.com/irungentoo/InsertProjectNameHere/blob/ma
|
||||||
|
|
||||||
Use the same UDP socket for everything
|
Use the same UDP socket for everything
|
||||||
|
|
||||||
|
Keep everything really simple.
|
||||||
|
|
||||||
### Details:
|
### Details:
|
||||||
|
|
||||||
DHT protocol:
|
DHT protocol:
|
||||||
|
|
|
@ -61,6 +61,7 @@ int id_closest(char * client_id, char * client_id1, char * client_id2)//tested
|
||||||
|
|
||||||
//check if client with client_id is already in list of length length.
|
//check if client with client_id is already in list of length length.
|
||||||
//if it is set it's corresponding timestamp to current time.
|
//if it is set it's corresponding timestamp to current time.
|
||||||
|
//if the ip_port is already in the list but associated to a different ip, change it.
|
||||||
//return True(1) or False(0)
|
//return True(1) or False(0)
|
||||||
//TODO: maybe optimize this.
|
//TODO: maybe optimize this.
|
||||||
int client_in_list(Client_data * list, uint32_t length, char * client_id, IP_Port ip_port)
|
int client_in_list(Client_data * list, uint32_t length, char * client_id, IP_Port ip_port)
|
||||||
|
|
|
@ -7,6 +7,9 @@ Things to do now:
|
||||||
-Get a basic im client working using the now completed DHT implementation to find the ips of your friends.
|
-Get a basic im client working using the now completed DHT implementation to find the ips of your friends.
|
||||||
|
|
||||||
-Find some good encryption libraries.
|
-Find some good encryption libraries.
|
||||||
|
I found this: http://libtom.org/
|
||||||
|
It looks pretty good so far
|
||||||
|
It's licenced under the WTFPL which is perfect.
|
||||||
|
|
||||||
-Figure out the best way to do "lossless" UDP.
|
-Figure out the best way to do "lossless" UDP.
|
||||||
|
|
||||||
|
@ -23,3 +26,7 @@ Less important.
|
||||||
-Offline messaging protocol (text only)
|
-Offline messaging protocol (text only)
|
||||||
Use your friends.(or maybe the people closest (mathematically by comparing client_id's) to you or the friend you want to send the message to).
|
Use your friends.(or maybe the people closest (mathematically by comparing client_id's) to you or the friend you want to send the message to).
|
||||||
The message will not be very big. Let's say we limit the maximum number of bytes for one to 1024, it means if every client stores 1024 offline messages it only takes 1 MB of ram.
|
The message will not be very big. Let's say we limit the maximum number of bytes for one to 1024, it means if every client stores 1024 offline messages it only takes 1 MB of ram.
|
||||||
|
|
||||||
|
-IPv6
|
||||||
|
Currently the core only supports ipv4
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user