| 81 | { |
| 82 | if (args.timeout != 0 && !args.nonblocking) { |
| 83 | struct timeval tv = { }; |
| 84 | tv.tv_sec = args.timeout; |
| 85 | tv.tv_usec = 0; |
| 86 | if (setsockopt(fd.get(), SOL_SOCKET, SO_RCVTIMEO, &tv, sizeof(tv)) != 0) { |
nothing calls this directly
no outgoing calls
no test coverage detected