Davide Beatrici
0472f9c286
Rewrite DNS API from scratch into dedicated file(s)
...
From a functional point of view, the main improvement is that GetIP() now always prioritizes IPv6 over IPv4.
The previous implementation always returned an IPv4 address, unless not available: in such case it failed.
This means that now connections to hostnames should be established via IPv6 if available.
From a programmer point of view, getting rid of the insane wrappers is enough to justify a complete rewrite.
As an extra, several unrelated unused global variables are removed.
2021-04-18 01:46:59 +02:00
..
2018-05-16 23:47:10 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2021-04-05 04:48:25 +02:00
2021-03-01 23:24:34 +01:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-18 01:46:59 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2019-01-14 12:25:53 +09:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-18 01:46:59 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-18 01:46:59 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2021-04-05 04:48:25 +02:00
2014-01-04 22:00:08 +09:00
2014-01-04 22:00:08 +09:00
2021-04-05 04:48:25 +02:00
2019-01-14 12:25:53 +09:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2021-04-05 04:48:25 +02:00
2021-04-18 01:46:59 +02:00
2021-04-05 04:48:25 +02:00
2021-04-18 01:46:59 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-18 01:46:59 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2019-01-14 12:25:53 +09:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-18 01:46:59 +02:00
2021-04-14 19:49:30 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-18 01:46:59 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-05 04:48:25 +02:00
2021-04-07 21:24:55 +02:00
2021-04-05 04:48:25 +02:00
2021-04-18 01:46:59 +02:00
2021-04-05 04:48:25 +02:00