n2n/include
Hamish Coleman 21ac30c121 Use the correct modern windows sockets header
As suggested in a PR from @Legend-Master (this change is basically
unrelated to the main point of his PR, so extracted here)

Windows is a confusing and disappointing development environment.  They
completely replaced all the definitions in winsock.h with exact
equivalents in winsock2.h (except for a small number of deprecated
functions).

However they didnt make them mutually exclusive - so if you include
both, you get errors.  They also automatically include winsock.h from
windows.h, so you must remember to include winsock2.h first.  They also
didnt just remove winsock.h and replace it with the new contents.

(Probably in the name of "compatibility", whilst swearing that the new
winsock is the same as the old one - because if you cannot believe two
inconsistent things simultaneously, you shouldnt be a windows
programmer)

All these things are totally nuts.  Thanks, windows dev environment,
for not noticing that this is nuts
2023-06-25 02:46:03 +08:00
..
aes.h iwyu: aes.c 2023-06-14 21:22:25 +01:00
auth.h iwym: auth.h 2023-06-13 21:24:30 +01:00
cc20.h iwym: cc20.h 2023-06-13 21:45:11 +01:00
curve25519.h (C) update (#965) 2022-03-12 10:22:42 +01:00
edge_utils_win32.h Fix bug in returned interface address 2023-06-24 23:31:20 +08:00
header_encryption.h iwym: header_encryption.h 2023-06-13 22:38:47 +01:00
hexdump.h added test framework and code coverage reporting (#797) 2021-09-27 15:26:06 +05:45
json.h iwym: json.h 2023-06-14 19:52:10 +01:00
lzoconf.h (C) update (#965) 2022-03-12 10:22:42 +01:00
lzodefs.h (C) update (#965) 2022-03-12 10:22:42 +01:00
minilzo.h (C) update (#965) 2022-03-12 10:22:42 +01:00
n2n_define.h Fix purgeable is always false on supernode peer list (#1117) 2023-06-18 08:58:49 +01:00
n2n_port_mapping.h Remove the non-maintained CMake build system. 2023-04-19 17:06:45 +08:00
n2n_regex.h (C) update (#965) 2022-03-12 10:22:42 +01:00
n2n_typedefs.h Fix purgeable is always false on supernode peer list (#1117) 2023-06-18 08:58:49 +01:00
n2n_wire.h fixed endianess issue in federated sn socket forwarding (#1030) 2022-06-28 16:53:12 +02:00
n2n.h Use the correct modern windows sockets header 2023-06-25 02:46:03 +08:00
network_traffic_filter.h (C) update (#965) 2022-03-12 10:22:42 +01:00
pearson.h iwym: pearson.h 2023-06-14 20:02:54 +01:00
portable_endian.h (C) update (#965) 2022-03-12 10:22:42 +01:00
random_numbers.h iwyu: random_numbers.h 2023-06-14 20:14:11 +01:00
sn_selection.h (C) update (#965) 2022-03-12 10:22:42 +01:00
speck.h iwyu: speck.h 2023-06-14 20:30:43 +01:00
tf.h iwyu: tf.h 2023-06-14 20:59:09 +01:00
uthash.h (C) update (#965) 2022-03-12 10:22:42 +01:00