fix ci and add formatting (#48)

* add dependency

* dont run blocking zmq example and add formatting

* format files
This commit is contained in:
Bechir Braham
2024-04-03 13:47:52 +02:00
committed by GitHub
parent 23c855acbc
commit 31a20d4f6c
34 changed files with 438 additions and 522 deletions

View File

@ -1,18 +1,15 @@
#include <string>
#include <fmt/core.h>
#include "aare/ZmqSocket.hpp"
#include <fmt/core.h>
#include <string>
int main(){
int main() {
std::string endpoint = "tcp://localhost:5555";
aare::ZmqSocket socket(endpoint);
socket.connect();
char* data = new char[1024*1024*10];
char *data = new char[1024 * 1024 * 10];
aare::zmqHeader header;
while(true){
int rc = socket.receive(header, reinterpret_cast<std::byte*>(data));
while (true) {
int rc = socket.receive(header, reinterpret_cast<std::byte *>(data));
}
delete[] data;
return 0;