mirror of
https://github.com/paulscherrerinstitute/sf_daq_buffer.git
synced 2026-05-03 14:34:13 +02:00
Set timeout in new way
This commit is contained in:
@@ -84,7 +84,7 @@ void ZmqReceiver::connect(
|
||||
cout << " with receive timeout " << receive_timeout << endl;
|
||||
#endif
|
||||
|
||||
socket_.setsockopt(ZMQ_RCVTIMEO, receive_timeout);
|
||||
socket_.set(zmq::sockopt::rcvtimeo, receive_timeout);
|
||||
socket_.connect(connect_address);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user