if php does not let you get the raw file descriptor from a socket, I will actually make an extra effort to make fun of them for being silly to take such an important thing away from a programmer. I am going to stick to the hope that they are not that foolish.
Hi Anthony,
yes, understand. Well, I've searched a few hours for a way to get it,
but I found no - at least not in my centos standard php installation and
not in Google. I found some hints (or requests) about dio_rawfd() there,
but it seems such a function doesn't exists.
If you or any other here have an idea where to look except adapting the
code I would like to know it. You are right saying patching
autogenerated code is a bad idea. But this is the only way I found so
far. Maybe
regards
helmut
Am 18.06.2010 19:08, schrieb Anthony Minessale:
> That's unacceptable. you cannot patch a generated swig file.
>
> you need to learn what function in php gives you the raw file descriptor
> number from your socket and pass that to the constructor as required.
>
> The whole time your problem is that you don't know how to do this in PHP
> so you should stop looking in the code and just find the php method of a
> socket object to product the real file descriptor.
_______________________________________________
FreeSWITCH-users mailing list
FreeSWITCH-users@lists.freeswitch.org
http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
http://www.freeswitch.org