PollManager: Add Connected and IsBound check
This commit is contained in:
parent
940dda32b7
commit
eae65be6c2
1 changed files with 4 additions and 2 deletions
|
@ -108,8 +108,10 @@ namespace Ryujinx.HLE.HOS.Services.Sockets.Bsd.Impl
|
|||
{
|
||||
outputEvents |= PollEventTypeMask.Error;
|
||||
|
||||
// TODO: Check ProxyClient.Connected and ProxyClient.IsBound when implemented.
|
||||
// See ManagedSocketPollManager
|
||||
if (!socket.ProxyClient.Connected || !socket.ProxyClient.IsBound)
|
||||
{
|
||||
outputEvents |= PollEventTypeMask.Disconnected;
|
||||
}
|
||||
}
|
||||
|
||||
if (eventDict[SelectMode.SelectRead].Contains(socket))
|
||||
|
|
Loading…
Reference in a new issue