Added new exception for invalid IP, used it if IP address is neither v4 nor v6

This commit is contained in:
2024-02-07 21:55:05 -05:00
parent 48739f6026
commit 912435bfa3
2 changed files with 8 additions and 3 deletions

View File

@@ -5,5 +5,6 @@ static const int EXCEPT_CONNREFUSED = 10;
static const int EXCEPT_TOOFEWARGS = 15;
static const int EXCEPT_INVALIDARGS = 20;
static const int EXCEPT_ADDRNOTAVAIL = 25;
static const int EXCEPT_INVALIDIP = 30;
#endif