On Sat, Mar 28, 2020 at 7:37 PM Peter Eisentraut <pe...@eisentraut.org> wrote: > > Enable Unix-domain sockets support on Windows >
+ +/* + * Windows headers don't define this structure, but you can define it yourself + * to use the functionality. + */ +struct sockaddr_un +{ + unsigned short sun_family; + char sun_path[108]; +}; I was going through this feature and reading about Windows support for it. I came across a few links which suggest that this structure is defined in <afunix.h>. Is there a reason for not using this via afunix.h? [1] - https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/ [2] - https://gist.github.com/NZSmartie/079d8f894ee94f3035306cb23d49addc -- With Regards, Amit Kapila. EnterpriseDB: http://www.enterprisedb.com