irungentoo
cbb526e83f
Merge branch 'encrypted_data' of https://github.com/dubslow/toxcore
2014-09-13 21:29:33 -04:00
irungentoo
ed7bed6b59
Increased maximum number of incomming TCP connections in TCP server.
2014-09-13 21:16:00 -04:00
irungentoo
9527d28b70
Some cleanups to last PR.
2014-09-12 17:40:09 -04:00
irungentoo
269fd6814e
Merge branch 'tox_connect' of https://github.com/saneki/toxcore
2014-09-12 17:07:27 -04:00
saneki
27369ac762
Removed tox_connect, initial connections are made on first tox_do
2014-09-12 12:21:17 -05:00
Dubslow
26566666aa
testing works, but doesn't pass...
2014-09-11 21:28:50 -05:00
Dubslow
61bfa596b6
Add magic number, auto tests still required
2014-09-11 19:29:18 -05:00
Tux3 / Mlkj / !Lev.uXFMLA
4b2aed74ec
Replace fprintf(stderr,...) by LOGGER_*() in net_crypto
2014-09-11 17:04:37 +02:00
irungentoo
820a32702f
Merge branch 'compiletimeLTO' of https://github.com/tux3/toxcore
2014-09-10 13:54:02 -04:00
Tux3 / Mlkj / !Lev.uXFMLA
5abcb7e32e
Remove unused function in DHT.c
2014-09-10 19:47:21 +02:00
Tux3 / Mlkj / !Lev.uXFMLA
6c2ea907e9
Remove unused variable in handle_sendnodes
2014-09-10 19:36:51 +02:00
cgar
2bb2bc4163
spelling corrections
2014-09-09 20:31:37 -04:00
saneki
98a93c7880
Fixed spacing
2014-09-09 14:48:09 -05:00
saneki
f771bfbe30
Added tox_connect function, no connecting done during tox_load
2014-09-09 11:34:39 -05:00
irungentoo
a0302b7aca
Added tests for custom lossy and lossless packets.
...
Fixed bug with lossless packets.
2014-09-08 12:20:44 -04:00
irungentoo
9ac8a5fe62
Updated docs.
...
Fixed possible issue in last commit.
2014-09-07 09:04:53 -04:00
irungentoo
64ce60c585
This fixes an issue where nodes could stay unannounced for certain
...
periods of time.
Online nodes should now be able to announce themselves continuously.
2014-09-06 22:14:13 -04:00
irungentoo
df7a627fde
Added custom packet functions to public tox api.
...
This should make it easy for people to use toxcore to power many
types of networked applications.
2014-09-05 21:31:35 -04:00
irungentoo
bb7bde3c0d
Fixed typo.
2014-09-03 19:14:16 -04:00
irungentoo
38c411ec3a
Fixed iOS possible SIGPIPE issue.
...
Apparently on iOS UDP sockets can SIGPIPE (what the fuck apple?).
2014-09-03 07:49:51 -04:00
irungentoo
01203a2272
Expose the tox_add_tcp_relay() function in the public api.
...
Clients can use this function to make Tox connect to user specified
TCP relays.
2014-09-02 19:38:44 -04:00
irungentoo
6d680274f6
Increased time between ping packets by 1 second.
...
This might make active connections less likely to time out needlessly.
2014-09-01 20:26:53 -04:00
irungentoo
1069b85ec4
Tweaked some values in DHT to decrease the discovery time mainly
...
for the auto tests.
2014-08-31 19:12:47 -04:00
irungentoo
59b16bdd26
Merge branch 'myChan' of https://github.com/lobiCode/toxcore
2014-08-30 19:56:05 -04:00
irungentoo
fa007a3b04
Speeded up start of file transfers.
2014-08-29 21:44:00 -04:00
irungentoo
0f023d912c
Removed useless code.
2014-08-29 21:39:14 -04:00
irungentoo
69725e8e74
Lossless crypto packets can now be sent without the congestion control applying to them.
2014-08-29 21:32:05 -04:00
slaniCode
52ad2c64f7
added checking for null pointer in new_Assoc function
2014-08-29 15:21:19 +02:00
irungentoo
411457dc8f
Fixed gcc warnings.
2014-08-28 20:54:05 -04:00
irungentoo
ff02d5a607
Removed send withid functions from api.
2014-08-27 14:39:09 -04:00
irungentoo
33b4268f7e
Added function to check if packet sent with net_crypto was received.
2014-08-27 14:37:28 -04:00
irungentoo
bbfa9efff6
Merge branch 'lobiCode-myChan'
2014-08-26 20:21:25 -04:00
slaniCode
f1ed0eeabb
fix the memory leak in new_TCP_server function
2014-08-27 02:00:52 +02:00
irungentoo
740ab85c8e
onion_isconnected is the best indicator of if tox is connected.
2014-08-23 21:55:53 -04:00
irungentoo
08bdf45aa3
Removed now deprecated function.
2014-08-23 21:51:45 -04:00
irungentoo
43723f2970
Small code cleanup.
2014-08-22 15:51:07 -04:00
irungentoo
69a55b87d2
Fixed some gcc warnings.
2014-08-21 20:55:14 -04:00
irungentoo
92dd71cdba
Speeded up onion friend finding.
2014-08-18 20:22:51 -04:00
irungentoo
c959f6c019
Added function to check if we were only connected to LAN DHT peers.
2014-08-18 18:56:02 -04:00
irungentoo
0fe6d84768
Removed useless line.
2014-08-16 22:21:47 -04:00
irungentoo
9134048bb5
Some thread safety related fixes to TCP connections in net_crypto.
...
Added a recursive mutex to fix possible thread issues when the A/V
thread sends data at the same time as the main thread.
2014-08-16 22:09:29 -04:00
irungentoo
162a900660
New congestion control algorithm.
...
This new congestion control algorithm uses the increase in size
of the send queue to regulate how fast it sends data.
When tweaked it should work better than the old one.
2014-08-16 18:14:47 -04:00
irungentoo
bb1bb58352
Set socket family to family of proxy when using proxy.
2014-08-15 12:06:13 -04:00
irungentoo
7557b92fc9
Modified tox_bootstrap_from_address() function.
...
PORT IS NO LONGER PASSED IN NETWORK BYTE ORDER.
Removed useless ipv6enabled parameter.
2014-08-14 19:01:21 -04:00
irungentoo
ef78169842
Added disabling of UDP and basic SOCKS5 proxy support to public API.
...
tox_new() now takes a Tox_Options struct as argument.
If a NULL pointer is passed to that struct, defaults are used.
2014-08-14 18:34:20 -04:00
irungentoo
f0b2cd7ad2
Function to save path nodes.
...
Forgot to commit it with before last commit.
2014-08-14 17:34:42 -04:00
irungentoo
cb815f7584
When getting disconnected from good relay, try to reconnect.
2014-08-14 17:29:50 -04:00
irungentoo
fb9fc81a35
Save some path nodes to speed up joining network on pure TCP.
2014-08-14 16:56:29 -04:00
irungentoo
5376d40f54
tox_isconnected() now works on TCP only.
2014-08-14 15:41:10 -04:00
irungentoo
1298932deb
UDP can now be disabled.
...
new_messenger() now takes an options struct as an argument.
2014-08-14 15:27:34 -04:00