in reply to Non-blocking IO without select()?

Note: the simplified example above doesn't demonstrate why I needed nonblocking

Without fully understanding the problem, probably, we would not be able to give you the right answer.