Swoole\Server::sendto

(PECL swoole >= 1.9.0)

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

Description

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

Parameters

ip

port

data

server_socket

Return Values