Christopher Baines schreef op vr 13-05-2022 om 12:51 [+0100]:
> #ifdef IPPROTO_IP
> scm_c_define ("IPPROTO_IP", scm_from_int (IPPROTO_IP));
> #endif
> +#ifdef IPPROTO_IPV6
> + scm_c_define ("IPPROTO_IPV6", scm_from_int (IPPROTO_IPV6));
> +#endif
> #ifdef IPPROTO_TCP
> scm_c_define ("IPPRO
Add constants to enable setting sockets to be IPv6 only. This is useful
if you want to listen on a port via IPv4 and IPv6 as the socket for IPv6
may need setting to be IPv6 only to avoid conflicting with the IPv4
socket.
* libguile/socket.c (IPPROTO_IPV6, IPV6_V6ONLY): New constants.
---
libguile