Swoole\Server::sendto

(PECL swoole >= 1.9.0)

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

说明

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

参数

ip

port

data

server_socket

返回值