dynamic timeouts and minor cleanups
This commit is contained in:
@@ -124,9 +124,7 @@ ToxClient::ToxClient(const CommandLine& cl) :
|
||||
NGC_FT1_options ft1_options {};
|
||||
ft1_options.acks_per_packet = cl.ft_acks_per_packet;
|
||||
ft1_options.init_retry_timeout_after = cl.ft_init_retry_timeout_after;
|
||||
ft1_options.sending_resend_without_ack_after = cl.ft_sending_resend_without_ack_after;
|
||||
ft1_options.sending_give_up_after = cl.ft_sending_give_up_after;
|
||||
ft1_options.packet_window_size = cl.ft_packet_window_size;
|
||||
_ft1_ctx = NGC_FT1_new(&ft1_options);
|
||||
NGC_FT1_register_ext(_ft1_ctx, _ext_ctx);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user