[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Useful patch for Win32 / WSA errors
[Thread Prev] | [Thread Next]
- Subject: Re: Useful patch for Win32 / WSA errors
- From: g4-lisz@xxxxxxxxxxxx
- Reply-to: libssh@xxxxxxxxxx
- Date: Fri, 25 Jul 2025 13:06:13 +0000
- To: libssh@xxxxxxxxxx
Hi Jakub It's in the pipeline... Cheers Till July 25, 2025 9:28 AM, "Jakub Jelen" <jjelen@xxxxxxxxxx (mailto:jjelen@xxxxxxxxxx?to=%22Jakub%20Jelen%22%20<jjelen@xxxxxxxxxx>)> wrote: Hi, I am not a windows expert so I do not know if there is a better way to do that. But if it is helpful for you, it should be helpful for more of libssh users or developers so we would be happy to accept this as a MR on gitlab. Thanks, Jakub On Fri, Jul 25, 2025 at 1:13 AM <g4-lisz@xxxxxxxxxxxx (mailto:g4-lisz@xxxxxxxxxxxx)> wrote: With my cross compiled version for Windows I use this patch to get more meaningful error messages from winsock (attached), strerror_s() doesn't know WSA error numbers. One would actually need FormatMessage() for this purpose. Cheers Till
Re: Useful patch for Win32 / WSA errors | Jakub Jelen <jjelen@xxxxxxxxxx> |
Useful patch for Win32 / WSA errors | g4-lisz@xxxxxxxxxxxx |