OpenSwoole\Client->sendto

Latest version: pecl install openswoole-22.1.2 | composer require openswoole/core:22.1.5

Declaration

<?php OpenSwoole\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 September 1, 2022