[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Detect UNIX domain sockets supported by recent Windows versions.
From: |
Bruno Haible |
Subject: |
Re: Detect UNIX domain sockets supported by recent Windows versions. |
Date: |
Wed, 24 Jul 2024 12:33:39 +0200 |
Hi Collin,
> I'll write a sys_un module to deal with including afunix.h tomorrow.
Nice!
And a unit test would be nice as well. You know, it's only through the
unit tests that we discover the portability problems.
I think such a unit test shouldn't use fork(), like tests/test-passfd.c
does, since fork() doesn't exist on native Windows. But
tests/test-nonblocking-socket-{main,child}.c looks like a good starting point.
Bruno