mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-08 21:02:04 +02:00
Cleanup settings in UdpReceiver
This commit is contained in:
@@ -2,7 +2,6 @@
|
||||
#define UDPRECEIVER_H
|
||||
|
||||
#include <sys/socket.h>
|
||||
#include "buffer_config.hpp"
|
||||
|
||||
class UdpReceiver {
|
||||
|
||||
@@ -15,9 +14,7 @@ public:
|
||||
bool receive(void* buffer, size_t buffer_n_bytes);
|
||||
int receive_many(mmsghdr* msgs, const size_t n_msgs);
|
||||
|
||||
void bind(
|
||||
const uint16_t port,
|
||||
const size_t usec_timeout=core_buffer::BUFFER_UDP_US_TIMEOUT);
|
||||
void bind(const uint16_t port);
|
||||
void disconnect();
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user