| 499 | } |
| 500 | |
| 501 | void TAbstractSocket::CloseImpl() { |
| 502 | if (IsValid()) { |
| 503 | Poller.Unwait(S); |
| 504 | Y_ABORT_UNLESS(closesocket(S) == 0, "closesocket failed: %s (errno = %d)", LastSystemErrorText(), LastSystemError()); |
| 505 | } |
| 506 | S = INVALID_SOCKET; |
| 507 | } |
| 508 | |
| 509 | void TAbstractSocket::WaitImpl(float timeoutSec) const { |
| 510 | Y_ABORT_UNLESS(IsValid(), "something went wrong"); |
nothing calls this directly
no test coverage detected