PHP 8.4.0 RC4 available for testing

Swoole\Server::sendto

(PECL swoole >= 1.9.0)

Swoole\Server::sendtoSend data to the remote UDP address.

Description

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

Parameters

ip

port

data

server_socket

Return Values

add a note

User Contributed Notes

There are no user contributed notes for this page.
To Top