mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-09 20:13:53 +01:00
Remove dont wait from multimsg recv
This commit is contained in:
1 parent
f6b2717934
commit
4488c51a83
1 file changed
+1
-1
@@ -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