| 754 | |
| 755 | |
| 756 | void SocketImpl::setRawOption(int level, int option, const void* value, poco_socklen_t length) |
| 757 | { |
| 758 | if (_sockfd == POCO_INVALID_SOCKET) throw InvalidSocketException(); |
| 759 | |
| 760 | int rc = ::setsockopt(_sockfd, level, option, reinterpret_cast<const char*>(value), length); |
| 761 | if (rc == -1) error(); |
| 762 | } |
| 763 | |
| 764 | |
| 765 | void SocketImpl::getOption(int level, int option, int& value) |
no test coverage detected