PDA

View Full Version : PHP socket chat



hackaro
September 2nd, 2009, 12:28 PM
hi everyone!

i'm trying to execute a php file that acts like a sever to my socket chat.

But when i execute it(console mode), php crash on socket_select and socket_accept, and show me no error.

i think that is some socket bad configuration.

can anyone help me. i'm new with ubuntu. thanks

hackaro
September 2nd, 2009, 03:08 PM
hi everyone!

i'm trying to execute a php file that acts like a sever to my socket chat.

But when i execute it(console mode), php crash on socket_select and socket_accept, and show me no error.

i think that is some socket bad configuration.

can anyone help me. i'm new with ubuntu. thanks

i solve the problem with socket_set_nonblock funtion, but now i get socket_accept:unable to accept incoming connection [11]:resource temporarily unavailable....