| CPC H04L 45/124 (2013.01) [H04L 43/08 (2013.01); H04L 45/24 (2013.01); H04W 12/0471 (2021.01); H04W 24/02 (2013.01); H04W 40/02 (2013.01); H04W 84/18 (2013.01)] | 20 Claims |

|
1. A method, comprising:
monitoring, by a first device in communication with a second device in a mesh network, a triggering event associated with optimizing a meshnet connection utilized by the first device and the second device to communicate meshnet data;
comparing, by the first device based at least in part on determining an occurrence of the triggering event, a threshold value with a measured value associated with a communication condition associated with communicating the meshnet data via the meshnet connection; and
transmitting, by the first device to the second device based at least in part on a result of the comparing, coordination information including identification information that identifies an optimal midpath node and timing information that indicates a connection time associated with connecting with the optimal midpath node for optimizing the meshnet connection, wherein transmitting the coordination information includes transmitting the coordination information via a relay server along with a public key associated with the second device.
|