| 507 | } |
| 508 | |
| 509 | void TAbstractSocket::WaitImpl(float timeoutSec) const { |
| 510 | Y_ABORT_UNLESS(IsValid(), "something went wrong"); |
| 511 | Poller.WaitT(TDuration::Seconds(timeoutSec)); |
| 512 | } |
| 513 | |
| 514 | void TAbstractSocket::CancelWaitImpl(const sockaddr_in6* address) { |
| 515 | Y_ASSERT(IsValid()); |