mirror of
https://github.com/irungentoo/toxcore.git
synced 2024-03-22 13:30:51 +08:00
Tweaked hole punching a bit.
This commit is contained in:
parent
fcc1463fe1
commit
3c16b0c035
|
@ -45,10 +45,10 @@
|
|||
/* Ping interval in seconds for each random sending of a get nodes request. */
|
||||
#define GET_NODE_INTERVAL 5
|
||||
|
||||
#define MAX_PUNCHING_PORTS 128
|
||||
#define MAX_PUNCHING_PORTS 32
|
||||
|
||||
/* Interval in seconds between punching attempts*/
|
||||
#define PUNCH_INTERVAL 10
|
||||
#define PUNCH_INTERVAL 3
|
||||
|
||||
#define NAT_PING_REQUEST 0
|
||||
#define NAT_PING_RESPONSE 1
|
||||
|
|
Loading…
Reference in New Issue
Block a user