Closed hurdos closed 6 years ago
Looks like UDP server is not work. My tests failed.
`Warning: Event::__construct() expects parameter 1 to be EventBase, null given in /mnt/dev/phpprj/phpdaemon/PHPDaemon/BoundSocket/UDP.php:169
Fixed.
Looks like UDP server is not work. My tests failed.
`Warning: Event::__construct() expects parameter 1 to be EventBase, null given in /mnt/dev/phpprj/phpdaemon/PHPDaemon/BoundSocket/UDP.php:169
1 PHPDaemon\Core\Daemon::errorHandler()
2 Event->__construct() called at [/mnt/dev/phpprj/phpdaemon/PHPDaemon/BoundSocket/UDP.php:169]
3 PHPDaemon\BoundSocket\UDP->enable() called at [/mnt/dev/phpprj/phpdaemon/PHPDaemon/Structures/ObjectStorage.php:27]
4 PHPDaemon\Structures\ObjectStorage->each() called at [/mnt/dev/phpprj/phpdaemon/PHPDaemon/Network/Server.php:190]
5 PHPDaemon\Network\Server->onEnable() called at [/mnt/dev/phpprj/phpdaemon/PHPDaemon/Network/Pool.php:215]
6 PHPDaemon\Network\Pool->enable() called at [/mnt/dev/phpprj/phpdaemon/PHPDaemon/Network/Pool.php:109]
7 PHPDaemon\Network\Pool->onReady() called at [/mnt/dev/phpprj/phpdaemon/PHPDaemon/Core/Pool.php:40]
8 PHPDaemon\Core\Pool->onReady() called at [/mnt/dev/phpprj/phpdaemon/PHPDaemon/Thread/Worker.php:178]
9 PHPDaemon\Thread\Worker->run() called at [/mnt/dev/phpprj/phpdaemon/PHPDaemon/Thread/Generic.php:146]
10 PHPDaemon\Thread\Generic->__invoke() called at [/mnt/dev/phpprj/phpdaemon/bin/phpd:71]`