Swoole\Server
PHP Manual

Swoole\Server::sendto

(PHP 5 >= 5.2.0, PHP 7, PECL swoole >= 1.9.0)

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

Description

public boolean Swoole\Server::sendto ( string $ip , integer $port , string $data [, string $server_socket ] )

Liste de paramètres

ip

port

data

server_socket

Valeurs de retour


Swoole\Server
PHP Manual