12 Jun
2010
12 Jun
'10
12:12 a.m.
Hello, I try to setup a php daemon which uses ESL. I run the sample php scripts successfully (inbound). Now I want to have it outbound to my php daemon socket. The forked child process which has to interact with incoming tcp connection from FS is started successfully. So in this state I have the client socket which I have to pass now somehow to ESLconnection I guess. FS ruby wiki gives this as an example: @con = ESL::ESLconnection.new(client_socket.fileno) In php I try this: $con = new ESLconnection($csock); As a result I got this error: PHP Fatal error: No matching function for overloaded 'new_ESLconnection' in /usr/share/pear/ESL.php on line 117 Any ideas? regards Helmut