Join 2,000+ others and never miss out on new tips, tutorials, and more.
pecl install openswoole-4.11.1
The remote IP to connect to that isn't already connected to the client.
The remote port to use.
The data to send to the remote server.
true when successful and
false when not.
Send data to a remote IP and port, that isn't already connected to the client. This function only supports the UDP protocol, even if the client is setup to use TCP.
This method is useful when you are already connected to a remote server but need to make a request quickly to another remote host, as a one off.