mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-04-25 19:30:44 +02:00
Remove setting the RCVBUF
This commit is contained in:
@@ -59,15 +59,6 @@ void UdpReceiver::bind(const uint16_t port, const size_t usec_timeout)
|
||||
SO_RCVTIMEO,
|
||||
(const char*)&udp_socket_timeout,
|
||||
sizeof(struct timeval));
|
||||
|
||||
// 12MB
|
||||
int rcvbuf_n_bytes = 12 * 1024 * 1024;
|
||||
setsockopt(
|
||||
socket_fd_,
|
||||
SOL_SOCKET,
|
||||
SO_RCVBUF,
|
||||
&rcvbuf_n_bytes,
|
||||
sizeof(rcvbuf_n_bytes));
|
||||
}
|
||||
|
||||
int UdpReceiver::receive_many(mmsghdr* msgs, const size_t n_msgs)
|
||||
|
||||
Reference in New Issue
Block a user