| 345 | } |
| 346 | |
| 347 | int TAbstractSocket::SendMMsg(TMMsgHdr* msgvec, unsigned int vlen, unsigned int flags) { |
| 348 | Y_ASSERT(IsValid()); |
| 349 | Y_ABORT_UNLESS(SendMMsgFunc, "sendmmsg is not supported!"); |
| 350 | TReadGuard rg(Mutex); |
| 351 | static bool checked = 0; |
| 352 | Y_ABORT_UNLESS(checked || (checked = !IsFragmentationForbiden()), "Send methods of this class expect default EnableFragmentation behavior"); |
| 353 | return SendMMsgFunc(S, msgvec, vlen, flags); |
| 354 | } |
| 355 | |
| 356 | ssize_t TAbstractSocket::SendMsg(const TMsgHdr* hdr, int flags, const EFragFlag frag) { |
| 357 | Y_ASSERT(IsValid()); |