aboutsummaryrefslogtreecommitdiff
path: root/src/core/memory.cpp
diff options
context:
space:
mode:
authorcirakg <cirakg@cirakg.xyz>2026-11-02 23:40:30 +0100
committercirakg <cirakg@cirakg.xyz>2026-11-02 23:40:30 +0100
commit694bc8df5c8d5b614bdbdbfa43c57a08316f88c2 (patch)
tree526b35b3e49c9e7dd86a85bcfd553341c9bc6893 /src/core/memory.cpp
parentdda30341bd409cf908dbf4f3670b3ca8293bfb1a (diff)
network: fix room host LAN Play and room socket review issues
The room host and room moderators are in the Moderator state, not Joined, so the airplane mode override for joined rooms did not apply to them and LAN Play still returned them to the menu. Accept both states. Share the room address override between the NIFM profile and IP config calls so they cannot drift apart. recv() on a room TCP socket now waited for the receive timeout, because Recv goes through RecvFrom. Room TCP sockets have no peer, so keep the previous immediate end-of-stream result when nothing is queued. Close() now drops queued packets and wakes a blocked recv, which then fails with EBADF. The socket state that the room thread reads when it queues a packet is now guarded by the packet mutex. Assisted-by: Claude Opus 5.5 (investigation and implementation)
Diffstat (limited to 'src/core/memory.cpp')
0 files changed, 0 insertions, 0 deletions