略微加速

PHP官方手册 - 互联网笔记

PHP - Manual: radius_send_request

2024-05-02

radius_send_request

(PECL radius >= 1.1.0)

radius_send_requestSends the request and waits for a reply

说明

radius_send_request(resource $radius_handle): int

After the Radius request has been constructed, it is sent by radius_send_request().

The radius_send_request() function sends the request and waits for a valid reply, retrying the defined servers in round-robin fashion as necessary.

参数

radius_handle

The RADIUS resource.

返回值

If a valid response is received, radius_send_request() returns the Radius code which specifies the type of the response. This will typically be RADIUS_ACCESS_ACCEPT, RADIUS_ACCESS_REJECT, or RADIUS_ACCESS_CHALLENGE. If no valid response is received, radius_send_request() returns false.

参见

add a noteadd a note

User Contributed Notes 1 note

up
-1
johnny at gmail dot com
5 years ago
The documentation does not state that the return value could also be other constants like RADIUS_DISCONNECT_ACK and more.

官方地址:https://www.php.net/manual/en/function.radius-send-request.php

北京半月雨文化科技有限公司.版权所有 京ICP备12026184号-3