forked from eden-emu/eden
internal_network: only poll for accept on blocking sockets
This commit is contained in:
parent
d154926e24
commit
52904fc719
2 changed files with 20 additions and 13 deletions
|
@ -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);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue