首页 诗词 名句 诗人 飞花令 诗单 诗词游戏 古籍 文学 成语 字典 词典 谜语 教育学习
查询

Swoole\Server::sendto()函数—用法及示例

「 将数据发送到远端UDP地址。 」


适用版本(PECL swoole >= 1.9.0)

Swoole\Server::sendto — 将数据发送到远端UDP地址。

说明
public Swoole\Server::sendto(
    string $ip,
    int $port,
    string $data,
    string $server_socket = ?
): bool

参数
ip
port
data
server_socket
热门PHP函数
在线组词