Hey Jan, Thanks for taking the time to make a patch! Could I convince you to attach it to a new issue in our JIRA issue tracker? ( https://issues.apache.org/jira/browse/THRIFT)
-Bryan On Sun, May 9, 2010 at 11:02 AM, Jan Dolecek <juzna...@gmail.com> wrote: > (trying again) > > Hello, > > I just downloaded Thrift and I need to create servers in PHP, which will > listen on unix or tcp sockets. So I've implemented it and attaching the > patch. > I hope it could be helpful and someone who knows thrift better than me can > attach it to source code. > > Here is example: > $socket = new TServerSocket("unix://$unixPath", -1); > $socket->listen(); > while(true) $socket->select($processor); > > Link: http://helemik.cz/juzna/opensource/php/thrift/php-server.patch >