| 982 | } |
| 983 | |
| 984 | int do_accept(struct sockaddr* addr, socklen_t* addrlen) override { |
| 985 | uint64_t timeout = -1; |
| 986 | return (int) etdoio(LAMBDA(::accept4(m_listen_fd, addr, addrlen, SOCK_NONBLOCK)), |
| 987 | LAMBDA_TIMEOUT(wait_for_readable(timeout))); |
| 988 | } |
| 989 | }; |
| 990 | |
| 991 | #endif // __linux__ |
nothing calls this directly
no test coverage detected