We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c2bccf0 commit a0be632Copy full SHA for a0be632
Datagram/Factory.php
@@ -30,7 +30,7 @@ public function createClient($host, $port)
30
throw new Exception('Unable to create client socket: ' . $errstr, $errno);
31
}
32
33
- return new Socket($loop, $socket, $address);
+ return new Socket($loop, $socket);
34
});
35
36
@@ -43,7 +43,7 @@ public function createServer($port, $host = '127.0.0.1')
43
return When::reject(new Exception('Unable to create server socket: ' . $errstr, $errno));
44
45
46
- return When::resolve(new Socket($this->loop, $socket, $address));
+ return When::resolve(new Socket($this->loop, $socket));
47
48
49
protected function resolve($host)
0 commit comments