1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-27 16:00:43 -05:00

Support AF_UNIX listening sockets on Windows.

Not all Windows toolchains have this yet, so we have to put the
whole lot under #ifdef.
This commit is contained in:
Simon Tatham
2022-01-27 20:37:32 +00:00
parent 3d15342fe8
commit 018236da29
4 changed files with 61 additions and 9 deletions

View File

@ -293,6 +293,7 @@ void socket_reselect_all(void);
SockAddr *sk_namedpipe_addr(const char *pipename);
/* Turn a WinSock error code into a string. */
const char *winsock_error_string(int error);
Socket *sk_newlistener_unix(const char *socketpath, Plug *plug);
/*
* network.c dynamically loads WinSock 2 or WinSock 1 depending on