Use non-blocking sockets for UDP #15

Closed
opened 2016-03-03 19:24:25 -06:00 by cgutman · 0 comments
cgutman commented 2016-03-03 19:24:25 -06:00 (Migrated from github.com)

This allows us to remove the need to select() before all packets received. Instead we should be in non-blocking mode and just try recv() first before going to select(). I'll investigate this after work on ENet is done (in case that complicates things).

This allows us to remove the need to select() before all packets received. Instead we should be in non-blocking mode and just try recv() first before going to select(). I'll investigate this after work on ENet is done (in case that complicates things).
Sign in to join this conversation.
No milestone
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
gh-moonlight-stream/moonlight-common-c#15
No description provided.