mirror of
https://github.com/Ryujinx/Ryujinx.git
synced 2024-12-23 02:31:20 -08:00
PollManager: Add Connected and IsBound check
This commit is contained in:
parent
940dda32b7
commit
eae65be6c2
@ -108,8 +108,10 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd.Impl
|
|||||||
{
|
{
|
||||||
outputEvents |= PollEventTypeMask.Error;
|
outputEvents |= PollEventTypeMask.Error;
|
||||||
|
|
||||||
// TODO: Check ProxyClient.Connected and ProxyClient.IsBound when implemented.
|
if (!socket.ProxyClient.Connected || !socket.ProxyClient.IsBound)
|
||||||
// See ManagedSocketPollManager
|
{
|
||||||
|
outputEvents |= PollEventTypeMask.Disconnected;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (eventDict[SelectMode.SelectRead].Contains(socket))
|
if (eventDict[SelectMode.SelectRead].Contains(socket))
|
||||||
|
Loading…
Reference in New Issue
Block a user