|
XenevaOS
|
#include <stdint.h>#include <_xeneva.h>#include <stdio.h>#include <string.h>#include <stdlib.h>#include <sys/_keproc.h>#include <sys/socket.h>#include <arpa/inet.h>
Macros | |
| #define | DEFAULT_PORT 7777 |
| #define | PAYLOAD "xeneva-lo-udp" |
| #define | TIMEOUT_ITERS 2000 |
Functions | |
| int | main (int argc, char *argv[]) |
| #define DEFAULT_PORT 7777 |
Weekly localhost UDP self-test: bind 127.0.0.1, sendto self, recv, compare. Requires kernel loopback / local delivery (notes/loopback-local-delivery.md).
| #define PAYLOAD "xeneva-lo-udp" |
| #define TIMEOUT_ITERS 2000 |
| int main | ( | int | argc, |
| char * | argv[] | ||
| ) |