summaryrefslogtreecommitdiff
path: root/src/rexmpp_tcp.h
AgeCommit message (Collapse)Author
2023-12-07Provide a callback after socket creation, use _Booldefanor
The callback is provided to set socket options, instead of individual options such as path_mtu_discovery (which is now removed). Noticed that the Rust rexmpp structure's C representation does not match that of C, since Rust's "bool" maps to C99's "_Bool", while I thought that it maps to "int" (c_int). Adjusted C structures to use "bool" from stdbool.h as well, since C99 (GNU99) is used already.
2023-05-02Use timespec and monotonic clock for timersdefanor
2021-09-21Make libunbound optionaldefanor
Just use gethostbyname when it's disabled. Possibly will add c-ares, getaddrinfo_a, and other options in the future.
2020-11-23Use stricter compiler checksdefanor
2020-11-13Switch from c-ares to libunbounddefanor
libunbound supports DNSSEC, which is needed for DANE TLSA: GnuTLS verifies a certificate for the final host, but SRV and A/AAAA records leading to it should be verified as well. c-ares is still used to parse domain names in SRV records, but should be replaced soon.
2020-02-29Use uint16_t for port numbersdefanor
2020-02-29Add the draftdefanor