Commit Graph

13 Commits

Author SHA1 Message Date
Sam Hocevar
f7cd21f91f Fix getaddrinfo() hint initialisation issues. 2021-02-14 07:51:46 +01:00
Sam Hocevar
a5905bbcea Fix Windows build. 2021-02-14 00:52:15 +01:00
Sam Hocevar
a1d2c297ba Merge branch 'main' into feature-ipv6-support 2021-02-13 23:11:35 +01:00
Sam Hocevar
5a70f2bf4e Allow to build application with Visual Studio. 2021-02-13 23:02:03 +01:00
Sam Hocevar
7e287f5913 Create log file if it does not exist already. 2021-02-13 21:52:15 +01:00
Sam Hocevar
4f64342ed5 Allow listening on IPv6 addresses. 2021-02-13 21:48:51 +01:00
Sam Hocevar
a8ca595620 Merge branch 'master' into feature-ipv6-support 2021-02-13 12:52:44 +01:00
Sam Hocevar
2681d17eb4 Fix minor compilation warnings on mingw64. 2021-02-13 11:44:26 +01:00
Sam Hocevar
ebd31cc72e Improve code readability by using enum typedefs. 2019-07-05 10:35:39 +02:00
Sam Hocevar
da497404ab Use uint64_t for data usage statistics.
It’s not uncommon nowadays that a single connection uses more than 2GiB
of data. This bug was only affecting logging and did not affect proper
behaviour of the program.
2019-07-05 10:28:46 +02:00
Sam Hocevar
d9f661ee5d Use uint16_t for port numbers.
This cleans up the mix of int and unsigned short for these variables.
2019-07-05 10:14:15 +02:00
Sam Hocevar
3e18951d7a Merge branch 'master' into feature-ipv6-support 2017-09-11 19:28:53 +02:00
Sam Hocevar
9d140d8f87 Move C source files to an src/ subdirectory.
It was a bit crowded in here. This makes the source tree a bit nicer.
2017-09-11 19:25:26 +02:00