You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
6
vendor/swoole/examples/multicast/client.php
vendored
Executable file
6
vendor/swoole/examples/multicast/client.php
vendored
Executable file
@ -0,0 +1,6 @@
|
||||
<?php
|
||||
$client = new swoole_client(SWOOLE_SOCK_UDP, SWOOLE_SOCK_SYNC);
|
||||
$client->connect('224.10.20.30', 9905);
|
||||
$client->send("hello world");
|
||||
echo $client->recv() . "\n";
|
||||
sleep(1);
|
Reference in New Issue
Block a user