zmq sender and receiver examples

This commit is contained in:
Bechir Braham
2024-04-04 15:51:18 +02:00
parent f772434072
commit 47cf462f3d
13 changed files with 506 additions and 115 deletions

View File

@ -0,0 +1,12 @@
#pragma once
#include "ZmqHeader.hpp"
#include "ZmqSocket.hpp"
namespace aare {
class ZmqSocketSender : public ZmqSocket {
public:
ZmqSocketSender(const std::string &endpoint);
void bind();
int send(ZmqHeader &header, const std::byte *data, size_t size, bool serialize_header = false);
};
} // namespace aare