mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-11-09 22:53:54 +01:00
Remove setting the RCVBUF
This commit is contained in:
1 parent
a1dc1dd5ec
commit
2ab7c6b19e
1 file changed
-9
@@ -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