Re: [PHP] socket_get_status()

2001-10-01 Thread Mukul Sabharwal
Hi, Well I'm not totally sure, why socket_get_status would not give you the correct value, other than a bug, as the manual does indicate the socket functions are experimental. There are altenative ways to get the number of bytes in the buffer, like using ioctl with FIONREAD, ofcourse that is a C

Re: [PHP] socket_get_status()

2001-10-01 Thread Mukul Sabharwal
Hi, Well I'm not totally sure, why socket_get_status would not give you the correct value, other than a bug, as the manual does indicate the socket functions are experimental. There are altenative ways to get the number of bytes in the buffer, like using ioctl with FIONREAD, ofcourse that is a C