Re: [PHP] Re: stream_select problem with signals

2008-02-17 Thread Marcos Lois Bermúdez
Nathan Rixham escribió: socket_strerror(socket_last_error()) maybe? That i can see in PHP manual socket functions sre not bundled by default in PHP 5.3.0 and above, so if i'm using the stream implementation, how i can determine if a signal interrupt a stream_select call, the stream not will

[PHP] Re: stream_select problem with signals

2008-02-15 Thread Nathan Rixham
Marcos Lois Bermúdez wrote: I'm rewriting an API to access OneWire Net, i have a problem with select and signals. The class will support both types of sockets, trought BSD sockets and with streams. My problem is that when the PHP app is in socket select and a signal arrives it threat it as a