Jonathan Naylor
41ba7fb13b
Simplify the UDP socket handling.
2024-01-29 16:37:34 +00:00
Daniel Caujolle-Bert
310cf0c8ff
Fix network ports datatype (unsigned int -> unsigned short). UDPSocket: fix old bug using m_port instead of m_port[x].
2021-04-25 07:43:56 +02:00
Daniel Caujolle-Bert
7311d5aa6b
Fix nasty bug in UDPSocket::close().
2021-03-31 16:18:24 +02:00
Jonathan Naylor
8893f25cdb
Add optional log file rotation and UDP error handling.
2020-10-31 22:16:07 +00:00
Jonathan Naylor
52b49f0bf4
Make Windows run.
2020-09-20 21:54:32 +01:00
Jonathan Naylor
3347a42118
IPv6 updates.
2020-09-06 14:06:13 +01:00
SASANO Takayoshi
85d02c8cf2
sync to MMDVMHost-ipv6 code
2020-04-07 18:01:58 +09:00
SASANO Takayoshi
9d65424d8c
lookup(): fix undefined result of address_length
...
When getaddrinfo() failed, the result of address_length is undefined.
Original (IPv4) code returns INADDR_NONE, IPv6 capable code should
do same behavior.
2019-10-22 19:25:40 +09:00
SASANO Takayoshi
0237efd88c
rewrite for Linux, that does not have ss_len, sa_len field.
2019-10-02 18:18:20 +09:00
SASANO Takayoshi
11707bfa60
replace sockaddr_in -> sockaddr_storage to support IPv6
2019-10-02 16:37:47 +09:00
Jonathan Naylor
0e2c37be56
Initial commit.
2018-06-06 20:33:31 +01:00