std :: sched::io_nb
Function std::tcp_accept_nb
int tcp_accept_nb(int listenfd)Non-blocking accept(): returns a connected client fd (itself set non-blocking), or -1 with errno EAGAIN/EWOULDBLOCK if none is pending yet — the caller should await_fd(listenfd, SCHED_READ) and retry.