Re: Troubles with adding IPv6 support to a program

2022-06-12 Thread tuexen
> On 12. Jun 2022, at 18:40, Chris Ross wrote: > > > Tl;dr; > I don’t know why I’m getting an EINVAL from a call to bind for a second socket > > > > > 20 years ago, I spent a lot of time adding IPv6 support to IPv4-only programs. > So I thought this (adding IPv6 support to simpleproxy[1])

Re: Troubles with adding IPv6 support to a program

2022-06-12 Thread Chris Ross
Okay. So, anyone can feel free to look at my code at the link below, but as soon as I got desperate enough to reach out to a mailer, I found my own mistake. For the curious, inside my loop I was calling socket() with the original pointer, not the iterator. :-( So, calling socket() the same

Troubles with adding IPv6 support to a program

2022-06-12 Thread Chris Ross
Tl;dr; I don’t know why I’m getting an EINVAL from a call to bind for a second socket 20 years ago, I spent a lot of time adding IPv6 support to IPv4-only programs. So I thought this (adding IPv6 support to simpleproxy[1]) would be an easy project to pick up. I’ve gotten most of the