DaZeus
2.0
|
#include "network.h"
#include "server.h"
#include "utils.h"
#include <stdio.h>
#include <sys/select.h>
Go to the source code of this file.
Classes | |
struct | dazeus::ServerSorter |
Namespaces | |
namespace | dazeus |
Chooses one server or the other based on the priority and failure rate. Failure rate is recorded in the Network object that the ServerConfig object links to via the NetworkConfig, if there is such a NetworkConfig object. You must give two servers of the same Network. | |
Macros | |
#define | MIN(a) if(params.size() < a) { fprintf(stderr, "Too few parameters for event %s\n", event.c_str()); return; } |
#define MIN | ( | a | ) | if(params.size() < a) { fprintf(stderr, "Too few parameters for event %s\n", event.c_str()); return; } |