-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
A tox_friend_connection_status event often occurs #868
Comments
Do you have a reliable connection between the two clients? ie not Wifi? The function you linked seems to be C++? but toxcore is written in C, so what wrapper are you using? Did you find the line that causes that event in c-toxcore? |
@sudden6 I use only wire, and both clients are inside my local network. But this behavior is also observed with the EchoBot, which is outside my local network. @Diadlo wrote correctly - this is callback |
i am seeing these kind of messages also very often. may be worth checking out |
Some more information
|
Fixes TokTok#868 Is made by: 1. Fix enumeration mechanism of Crypto_Connection instances in function send_crypto_packets() (this item solves the main problem); 2. Disruption of correlation between parameters of different dimensions (the parameters MAX_NUM_SENDPACKET_TRIES and UDP_DIRECT_TIMEOUT have different dimensions).
I began to notice that when my client (ToxPhone) is running, a tox_friend_connection_status event occurs quite often.
Generation of this event lasted an hour and a half with an interval of 10 seconds. And it stopped only after reconnecting to DHT. Full log is attached.
toxphone.log.toxphone.txt
The output of the message "ToxEvent: friend TCP connection" is executed by the following code:
I would like to understand why the event is generated so often and for a long time.
Forgot to add: I use toxcore 0.2.+ Gitrev: eb6b602
The text was updated successfully, but these errors were encountered: