| 228 | } |
| 229 | |
| 230 | void openhd::setSocketReuse(int sockfd) { |
| 231 | int enable = 1; |
| 232 | if (setsockopt(sockfd, SOL_SOCKET, SO_REUSEADDR, &enable, sizeof(int)) < 0) { |
| 233 | get_console()->warn("Cannot set socket reuse"); |
| 234 | } |
| 235 | } |
nothing calls this directly
no test coverage detected