Confidential while True: wait_for_any_fd_to_become_ready() handle_fd_callback() Don’t mix with blocking I/O - Callbacks can’t do any kind of blocking I/O, like `read()`, `recv()`, etc… - Instead, they should do it asynchronously, and register the file descriptor with a callback in the event loop.