forest-net
an overlay networks for large-scale virtual worlds
|
#include "Router.h"
Go to the source code of this file.
Namespaces | |
forest | |
The CtlPkt class is used to pack and unpack forest control messages. | |
Constant Groups | |
forest | |
The CtlPkt class is used to pack and unpack forest control messages. | |
Functions | |
bool | processArgs (int argc, char *argv[], RouterInfo &args) |
Process command line arguments for starting a forest router. More... | |
int | main (int argc, char *argv[]) |
Main program for starting a forest router. | |
Definition in file Router.cpp.
bool processArgs | ( | int | argc, |
char * | argv[], | ||
RouterInfo & | args | ||
) |
Process command line arguments for starting a forest router.
All arguments are strings of the form "name=value".
argc | is the number of arguments (including the command name) |
argv | contains the command line arguments as C-style strings |
is | a reference to a RouterInfo structure; on return, it will contain all the values that were specified on the command line; unspecified numeric values are set to 0 and unspecified string values are set to the empty string |
Definition at line 23 of file Router.cpp.