| 621 | bool Socket::getReusePort() const { return _pImpl->getReusePort(); } |
| 622 | |
| 623 | int Socket::IOCTL(Exception& ex,NET_SOCKET sockfd,NET_IOCTLREQUEST request,int value) { |
| 624 | ASSERT_RETURN(sockfd!=NET_INVALID_SOCKET, value) |
| 625 | #if defined(_WIN32) |
| 626 | int rc = ioctlsocket(sockfd, request, reinterpret_cast<u_long*>(&value)); |
| 627 | #else |
| 628 | int rc = ::ioctl(sockfd, request, &value); |
| 629 | #endif |
| 630 | if (rc != 0) |
| 631 | Net::SetException(ex, Net::LastError()," (request=",request,")"); |
| 632 | return value; |
| 633 | } |
| 634 | |
| 635 | } // namespace Mona |
nothing calls this directly
no outgoing calls
no test coverage detected