In which case can the linux kernel return both POLLOUT and POLLHUP (but not POLLERR) to…
- User
In which case can the linux kernel return both POLLOUT and POLLHUP (but not POLLERR) to a poll call on a tcp socket ?
Assistant
In Linux, the
poll()(orselect(),epoll(), etc.) system call can return both and (but not ) for a TCP socket in the following scenario:
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.