Skip to content

Commit 19dc500

Browse files
author
amin
committed
bug fixes for building github workflow
1 parent 7e5c4b5 commit 19dc500

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/MulticastExecutor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ public function query(Query $query): PromiseInterface
9595
*/
9696
public function doQuery($queryData, $name): PromiseInterface
9797
{
98-
$this->conn = await($this->factory->createServer('udp://0.0.0.0:0'));
98+
$this->conn = await($this->factory->createClient('127.0.0.1:0'));
9999

100100
$timer = $this->loop->addTimer($this->timeout, function () use ($name) {
101101
$this->conn->close();

tests/MdnsServerMock.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ public function __construct(private array $records)
2121
public function start(): void
2222
{
2323
$factory = new Factory();
24-
$this->server = await($factory->createServer('udp://0.0.0.0:5353'));
24+
$this->server = await($factory->createServer('224.0.0.251:5353'));
2525
$parser = new Parser();
2626
$dumper = new BinaryDumper();
2727

0 commit comments

Comments
 (0)