mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-03 05:04:12 +02:00
Remove dont wait from multimsg recv
This commit is contained in:
@@ -63,7 +63,7 @@ void UdpReceiver::bind(const uint16_t port, const size_t usec_timeout)
|
||||
|
||||
int UdpReceiver::receive_many(mmsghdr* msgs, const size_t n_msgs)
|
||||
{
|
||||
return recvmmsg(socket_fd_, msgs, n_msgs, MSG_DONTWAIT, 0);
|
||||
return recvmmsg(socket_fd_, msgs, n_msgs, 0, 0);
|
||||
}
|
||||
|
||||
bool UdpReceiver::receive(void* buffer, size_t buffer_n_bytes)
|
||||
|
||||
Reference in New Issue
Block a user