Re: [PHP] sockets (long)

2001-04-06 Thread Joseph Blythe
Yasuo Ohgaki wrote: set_nonblock() is in PHP C source, but not in the PHP Manual. May be it's dead? It seems it take one parameter (file descriptor), let us know if it works. I might want to use it in the future :) Yasuo, There is one mention of set_nonblock() in the manual under

Re: [PHP] sockets (long)

2001-04-05 Thread Yasuo Ohgaki
set_nonblock() is in PHP C source, but not in the PHP Manual. May be it's dead? It seems it take one parameter (file descriptor), let us know if it works. I might want to use it in the future :) From socket.c 529 /* {{{ proto bool set_nonblock(int fd) 530Sets nonblocking mode for file

[PHP] sockets (long)

2001-04-04 Thread Joseph Blythe
Hey all, People who have been recieving this list for a while may remember me going through all this a while back, so I am not really a newbie when using sockets. I am basically trying to rewrite my Online Credit Card Verification (OCV) client with the new socket functions. In thoery the

Re: [PHP] sockets (long)

2001-04-04 Thread Joseph Blythe
Plutarck wrote: Very recently (a few days at most ago) someone was complaining about the problem you are having. According to them they can't get the socket function to accept socket nonblocking. It would seem that the function is broken, so you can't set nonblocking to a valid value