Swoole\Client->sendto

4.x is outdated, please check the latest version 22.x


Latest version: pecl install openswoole-22.1.2

Declaration

<?php Swoole\Client->sendto(string $ip, int $port, mixed $data)

Parameters

ip

The remote IP.

port

The remote port.

data

The data to send.

Return

Description

Send data to the remote IP and port.

Example

Last updated on August 31, 2022