Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2025-02-13 | socket: WIN32: Make sure errno is set in error conditions | 1 | -0/+9 | ||
2025-02-13 | socket: Update inline attributes for gcc/clang | 1 | -1/+1 | ||
2025-02-13 | socket: WIN32: call WSAInit from library constructor | 1 | -35/+11 | ||
2025-02-13 | socket: Improve error message output/verbose logging | 1 | -73/+112 | ||
This will make sure to not print anything by default. Verbosity needs to be at least 1 and can be set using socket_set_verbose(). | |||||
2024-11-28 | Fix compilation on MSVC | 1 | -3/+11 | ||
2024-11-26 | Change WIN32 to _WIN32 to check if running on Windows | 1 | -21/+21 | ||
2024-10-29 | socket.c: define AI_NUMERICSERV if undefined | 1 | -0/+4 | ||
2024-10-21 | socket/win32: Use calloc where applicable in getifaddrs implementation | 1 | -4/+3 | ||
This should prevent crashes like the one mentioned in #12 which are caused by releasing an invalid pointer (due to uninitialized memory). | |||||
2024-10-09 | socket: Remove greater-than check for scope_id since they might not be in order | 1 | -10/+0 | ||
Otherwise the scope_id matching might exit the loop before reaching the interface with the actual corresponding scope_id. This only affected socket_connect_addr(). | |||||
2024-05-13 | socket: Create an IPv4 compatible IPv6 socket when NULL is passed to ↵ | 1 | -1/+2 | ||
socket_create | |||||
2024-05-04 | socket: Haiku compilation fixes | 1 | -3/+5 | ||
- link against libnetwork - get_primary_mac_address similar to FreeBSD | |||||
2024-03-06 | socket: Make sure errno is always set on error, and always return a ↵ | 1 | -5/+97 | ||
meaningful error code | |||||
2024-02-16 | socket: Allow NULL as address for socket_create() and socket_connect() | 1 | -8/+0 | ||
This will connect to localhost without the need to specify localhost or 127.0.0.1 or ::1 and also makes this invulnerable to DNS rebind attacks. | |||||
2024-01-30 | Move LIMD_GLUE_API definitions to public headers | 1 | -17/+17 | ||
2023-12-26 | socket: Conditionally compile using poll or select based on availability | 1 | -27/+85 | ||
2023-12-26 | socket: Fix select failing when the process has many file descriptors by ↵ | 1 | -79/+100 | ||
using poll instead This happens, for example, when a process links with libusbmuxd, and the process is file descriptor heavy. Note: 'poll' means the syscall poll, not a polling approach. This patch does not add a busy wait and is not a performance regression. | |||||
2023-01-09 | Fix compilation on cygwin | 1 | -0/+6 | ||
2022-03-29 | socket: Add socket_get_socket_port function | 1 | -0/+21 | ||
2021-11-24 | socket: Add FreeBSD supprt to get_primary_mac_address | 1 | -2/+6 | ||
2021-06-07 | socket: Add get_primary_mac_address() | 1 | -0/+62 | ||
2021-06-07 | Initial check-in of sources | 1 | -0/+1169 | ||