diff options
author | Liam <[email protected]> | 2024-01-30 10:29:05 -0500 |
---|---|---|
committer | Liam <[email protected]> | 2024-01-30 10:29:05 -0500 |
commit | 5510b31972390ed4392717e0b65909750e2bb8ba (patch) | |
tree | f81dcab160433b03c9ab1adab11ad6b6736789c7 /src/core/internal_network/sockets.h | |
parent | 8ddfecfbaea7b08e300350fd2f14fb6b2e79634b (diff) | |
download | yuzu-mainline-5510b31972390ed4392717e0b65909750e2bb8ba.tar.gz yuzu-mainline-5510b31972390ed4392717e0b65909750e2bb8ba.zip |
internal_network: only poll for accept on blocking sockets
Diffstat (limited to 'src/core/internal_network/sockets.h')
-rw-r--r-- | src/core/internal_network/sockets.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/core/internal_network/sockets.h b/src/core/internal_network/sockets.h index 4ba51f62c..3a32dff75 100644 --- a/src/core/internal_network/sockets.h +++ b/src/core/internal_network/sockets.h @@ -166,6 +166,9 @@ public: bool IsOpened() const override; void HandleProxyPacket(const ProxyPacket& packet) override; + +private: + bool is_non_blocking = false; }; std::pair<s32, Errno> Poll(std::vector<PollFD>& poll_fds, s32 timeout); |