aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/internal_network/sockets.h
diff options
context:
space:
mode:
authorLiam <[email protected]>2024-01-30 10:29:05 -0500
committerLiam <[email protected]>2024-01-30 10:29:05 -0500
commit5510b31972390ed4392717e0b65909750e2bb8ba (patch)
treef81dcab160433b03c9ab1adab11ad6b6736789c7 /src/core/internal_network/sockets.h
parent8ddfecfbaea7b08e300350fd2f14fb6b2e79634b (diff)
downloadyuzu-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.h3
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);