   WSAGetLastError() returns 5? What does this mean? [SOLVED]
  I'm currently making a server/client application, using Winsock2 and C++. At some point in the process of interaction, I sometimes receive error code 5 when I use WSAGetLastError(); (I only call this function when a socket error occurs)I tried looking up the error number, but MSDN says all errors have values > 10000. Can anyone tell me what this error means?If any code is required, just let me know. Thanks in advance![Edited by - Subotron on June 19, 2006 4:23:46 AM]
  Error codes below 10000 are standard Win32 error codes; check your winerror.h header, number 5 is ERROR_ACCESS_DENIED.   ;  ah like that... I thought all errors through WSAGetSelectError() were Winsock errors. Well thanks a lot!   