diff options
| author | bunnei <bunneidev@gmail.com> | 2021-03-02 17:08:47 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-03-02 17:08:47 -0800 |
| commit | f8bfec31095b8ccc7883dbff49472f6c0ce2dec8 (patch) | |
| tree | 0c3fe3ba20f294d1fac2c89019204eec528c57f4 /src/core/network/network.h | |
| parent | 4a45012f354e974ec578d0f66752c87bdea10e36 (diff) | |
| parent | 2910aa77b2feea39fc0618598e275b138a346e71 (diff) | |
Merge pull request #5815 from comex/net-error-reform
Network error handling reform
Diffstat (limited to 'src/core/network/network.h')
| -rw-r--r-- | src/core/network/network.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/core/network/network.h b/src/core/network/network.h index 76b2821f2..bd30f1899 100644 --- a/src/core/network/network.h +++ b/src/core/network/network.h @@ -7,6 +7,7 @@ #include <array> #include <utility> +#include "common/common_funcs.h" #include "common/common_types.h" namespace Network { @@ -21,6 +22,11 @@ enum class Errno { MFILE, NOTCONN, AGAIN, + CONNREFUSED, + HOSTUNREACH, + NETDOWN, + NETUNREACH, + OTHER, }; /// Address families |
