| 53 | setOption<struct linger>(ex,SOL_SOCKET, SO_LINGER, l); |
| 54 | } |
| 55 | bool getLinger(Exception& ex, int& seconds) const { |
| 56 | struct linger l; |
| 57 | getOption<struct linger>(ex, SOL_SOCKET, SO_LINGER, l); |
| 58 | seconds = l.l_linger; |
| 59 | return l.l_onoff != 0; |
| 60 | } |
| 61 | |
| 62 | |
| 63 | void setReusePort(bool flag) { |
nothing calls this directly
no outgoing calls
no test coverage detected