Share via

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 development | Windows API - Win32

Answer accepted by question author
  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

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.