public function putServer($servername, $port = 0, $sharedsecret = 'testing123', $timeout = 3, $maxtries = 3)
    {
        if (!radius_add_server($this->res, $servername, $port, $sharedsecret, $timeout, $maxtries)) {
            return false;
        }
        return true;
    }
public function putServer($servername, $port = 0, $sharedsecret = 'testing123', $timeout = 3, $maxtries = 3)
    {
        if (!radius_add_server($this->res, $servername, $port, $sharedsecret, $timeout, $maxtries)) {
            return false;
        }
        return true;
    }
public function putServer ( $ servername , $ port = 0 , $ sharedsecret = 'testing123' , $ timeout = 3 , $ maxtries = 3 ) { if ( ! radius_add_server ( $ this -> res , $ servername , $ port , $ sharedsecret , $ timeout , $ maxtries ) ) { return false ; } return true ; }
Configures the radius library.

@param  string  $servername   Servername or IP-Address
@param  integer $port         Portnumber
@param  string  $sharedSecret Shared secret
@param  integer $timeout      Timeout for each request
@param  integer $maxtries     Max. retries for each request
@return bool  true on success, false on error
@see addServer()
Configures the radius library .