networkclient
|
More complex client using the nr_track_id_t structure. More...
#include <networkradius-devel/client.h>
#include <sys/select.h>
#include <unistd.h>
#include "nr_track_id_t.c"
#include "nr_transmit.c"
#include "nr_vp_create.c"
Functions | |
int | main (UNUSED int argc, UNUSED const char *argv[]) |
More complex client using the nr_track_id_t structure.
This program sends three (3) packets, one after the other. It uses the nr_track_id_t structure to track multiple packets to one server. It also uses nr_transmit() to perform timeouts and retransmissions.