You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
int n = co_await stream_.async_recv(handle, buf, 1024);
35
+
36
+
if (n == 0) break;
37
+
38
+
co_await stream_.async_send(handle, buf, n);
39
+
}
40
+
41
+
co_return 0;
30
42
}
31
43
```
32
44
45
+
## Build
46
+
```shell
47
+
git clone https://github.com/g-tejas/zephyr
48
+
cd zephyr
49
+
git submodule update --init
50
+
51
+
make # build zephyr.so
52
+
make example # build examples
53
+
```
54
+
33
55
The AF_XDP socket and BPF integration allows building high performance network functions like load balancers, firewalls, NATs etc without kernel involvement.
34
56
35
57
`zephyr` provides the core asynchronous infrastructure to leverage modern Linux features like io_uring, eBPF, AF_XDP for constructing fast and scalable network services in C++20.
0 commit comments