scheme printer in scheme

2022-05-13 Thread Stefan Israelsson Tampe
Hi! I have managed to code a printer in scheme that is suspendable e.g. no jumping back and forth between scheme and C unless you use custom old port p printers or smob printers. This system also works nicely with a soft port construction I have that is completely written in scheme. So when one us

Re: [PATCH] socket: Add IPPROTO_IPV6 and IPV6_V6ONLY.

2022-05-13 Thread Maxime Devos
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

[PATCH] socket: Add IPPROTO_IPV6 and IPV6_V6ONLY.

2022-05-13 Thread Christopher Baines
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