Swoole\Server::sendto
PHP function
Edit on GitHub ✎
(PECL swoole >= 1.9.0)
Send data to the remote UDP address.
Description
Swoole\Server::sendto(string $ip, int $port, string $data, [string $server_socket]): bool
Parameters
ipportdataserver_socket