Error code for WSAGetLastError function

和夫 新田 21 Reputation points
2020-10-27T04:35:54.307+00:00

When WinSock's Bind function fails, the
The error code obtained by the WSAGetLastError function is recorded in the log file.
In that error log, the error code "204" is recorded as an error code, and
I'm investigating what that error code indicates.
Is the error code "204" an error code for the Bind function? I'd like to know what the cause is.

It happened once in Windows 7 Professional.

Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,512 questions
{count} votes

Accepted answer
  1. Tim Roberts 81 Reputation points
    2020-10-27T04:38:37.533+00:00

    Is that hex or decimal? The fact is, neither decimal 204 nor hex 0x204 is included in the Windows error codes, and Winsock errors start at 10000. Perhaps you should post your code.

    0 comments No comments

0 additional answers

Sort by: Most helpful