XenevaOS
Loading...
Searching...
No Matches
Macros | Functions
main.cpp File Reference
#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>
Include dependency graph for main.cpp:

Macros

#define DEFAULT_PORT   7777
 
#define PAYLOAD   "xeneva-lo-udp"
 
#define TIMEOUT_ITERS   2000
 

Functions

int main (int argc, char *argv[])
 

Macro Definition Documentation

◆ DEFAULT_PORT

#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).

◆ PAYLOAD

#define PAYLOAD   "xeneva-lo-udp"

◆ TIMEOUT_ITERS

#define TIMEOUT_ITERS   2000

Function Documentation

◆ main()

int main ( int  argc,
char *  argv[] 
)