Swoole\Server::sendto

Send data to the remote UDP address.

Description

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

Parameters

ip

port

data

server_socket

Return Values