networkclient
example_5.c File Reference

Sample code to initialize a RADIUS packet send it to a server. More...

#include <networkradius-devel/client.h>
Include dependency graph for example_5.c:

Functions

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

Detailed Description

Sample code to initialize a RADIUS packet send it to a server.

This example initializes a packet, and then adds User-Name and User-Password to it. The resulting packet is then printed to the standard output.

The packet is sent to a server, and waits for a response. It then prints the response.

Function Documentation