| 33 | |
| 34 | void setReceiveBufferSize(Exception& ex, int size) { setOption(ex, SOL_SOCKET, SO_RCVBUF, size); } |
| 35 | int getReceiveBufferSize(Exception& ex) const { return getOption(ex,SOL_SOCKET, SO_RCVBUF); } |
| 36 | |
| 37 | void setNoDelay(Exception& ex, bool flag) { setOption(ex,IPPROTO_TCP, TCP_NODELAY, flag ? 1 : 0); } |
| 38 | bool getNoDelay(Exception& ex) const { return getOption(ex, IPPROTO_TCP, TCP_NODELAY) != 0; } |
nothing calls this directly
no outgoing calls
no test coverage detected