mirror of
https://git.naxdy.org/Mirror/Ryujinx.git
synced 2024-12-25 10:03:05 +00:00
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;
|
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 a new issue