:: Re: [DNG] Better late than never
Top Page
Delete this message
Reply to this message
Author: aitor_czr
Date:  
To: dng, jf, hendrik
Subject: Re: [DNG] Better late than never
Hi,

El 19/09/18 a las 07:55, J. Fahrner escribió:
>
> Am 2018-09-18 11:37, schrieb aitor_czr:
>
>> Thanks for your interest on simple-netaid :)
>>
> Does simple-netaid not automatically reconnect after suspend/resume?
>
> Jochen
>


It doesn't. The automatically connect option still is not implemented. I
wanted to do the backend of simple-netaid as lightweith as possible.
Close all the apps, web navigator, etc... and keep running only
simple-netaid. The CPU requeriment is very low.

Have a look at the lines nº90 - nº124 of the window_main_worker.cpp:

https://git.devuan.org/aitor_czr/simple-netaid-gtk/blob/master/src/window_main_worker.cpp

This funcion only says you if you are connected or disconnected.  Only
after the detecction of a change in the status of the network connection,
the code of the nº255 - nº582 of netstat.c:

https://git.devuan.org/aitor_czr/simple-netaid-gtk/blob/master/backend_src/netstat.c

will be run, giving in detail the information about the network
connection, including if the wire is plugged/unplugged.

Later i'll explain in detail how the backend works, i have no time now
(time to work).

Have a nice day :)

Aitor.