Browse Source

Add WSATRY_AGAIN to windows/types.odin

Not sure if the intent is to only add the defines that are commonly used in this file in order to keep things lean, rather than the complete list of WSA error codes from winerror.h into winerror.odin. I can close this and redo by adding all the WSA codes into winerror.odin and deleting these instead if preferred.
matias 2 years ago
parent
commit
162e86663f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      core/sys/windows/types.odin

+ 1 - 0
core/sys/windows/types.odin

@@ -1662,6 +1662,7 @@ WSAENOTCONN: c_int : 10057
 WSAESHUTDOWN: c_int : 10058
 WSAETIMEDOUT: c_int : 10060
 WSAECONNREFUSED: c_int : 10061
+WSATRY_AGAIN: c_int : 11002
 
 MAX_PROTOCOL_CHAIN: DWORD : 7