Start client in handleConnection() #9

Closed
bvoronov opened this Issue Apr 10, 2012 · 1 comment

Comments

Projects
None yet
2 participants

Maybe I did something wrong, but examples from the package did not work until I put this code

// DNode/DNode.php
...
#113     if (!$started) {
#114         $client->start();
#115         $started = true;
#116     }
...

to begin of the while

...
#77 while ($connected) {
#78     $readables = array($stream);
#79     $priority = null;

        if (!$started) {
            $client->start();
            $started = true;
        }
 ...

sorry for my english

bergie closed this in ad631fc Apr 23, 2012

Owner

bergie commented Apr 23, 2012

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment