WSAGetLastError just calls GetLastError in Ws2_32.dll
Why to use WSAGetLastError instead of GetLastError?
Himanshu Singh
1
Reputation point
On Windows WSAGetLastError and GetLastError both the api are giving same values.
So , Can I use GetLastError() api instead of WSAGetLastError()?
Is there any benefit we will get if we use WSAGetLastError instead of GetLastError