[+] STATUS_CONNECTION_REFUSED for some lower-level firewall drivers under Windows
This commit is contained in:
parent
1fa433540b
commit
5ded6a751f
@ -17,6 +17,10 @@
|
||||
#if !defined(STATUS_ACCESS_DENIED)
|
||||
#define STATUS_ACCESS_DENIED ((AuUInt) 0xc0000022)
|
||||
#endif
|
||||
|
||||
#if !defined(STATUS_CONNECTION_REFUSED)
|
||||
#define STATUS_CONNECTION_REFUSED ((AuUInt) 0xC0000236)
|
||||
#endif
|
||||
#endif
|
||||
|
||||
namespace Aurora::IO::Net
|
||||
@ -66,6 +70,7 @@ namespace Aurora::IO::Net
|
||||
case WSAEPROTONOSUPPORT:
|
||||
case WSAEPFNOSUPPORT:
|
||||
case WSAEAFNOSUPPORT:
|
||||
case STATUS_CONNECTION_REFUSED:
|
||||
case (AuUInt)STATUS_ACCESS_DENIED:
|
||||
error.netError = ENetworkError::ePermissionDenied;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user