MistServer  2.5.3-Pro-19-gf5e75b1 ( Generic_64)
Namespaces | Functions
controller_limits.cpp File Reference
#include "controller_limits.h"
#include "controller_statistics.h"
#include "controller_storage.h"
#include <iostream>
#include <arpa/inet.h>
#include <sys/socket.h>
#include <netdb.h>

Namespaces

 Controller
 Holds everything unique to the controller.
 

Functions

void Controller::checkServerLimits ()
 
void Controller::checkStreamLimits (std::string streamName, long long currentKbps, long long connectedUsers)
 
std::string Controller::getCountry (std::string ip)
 
std::string Controller::hostLookup (std::string ip)
 
bool Controller::isBlacklisted (std::string host, std::string streamName, int timeConnected)
 
bool Controller::onList (std::string ip, std::string list)