Re: [PHP] Re: php sockets

2007-12-20 Thread vixle
With any code doing a basic socket functionality, the code that i gave in the original post is suppossed to connect to a deamon, and get a message from it , instead it "makes the deamon go crazy" in the sense that it starts endless looping and loads the system resources up to max. "Jim Lucas" <

Re: [PHP] Re: php sockets

2007-12-20 Thread vixle
well i mean even if we would not consider that particular piece of code as an example of the code that i have issues with im still rather interesting if theres some different between the socket model used by say, c++(winsock in my case) and the sockets used in php because when made a simple c++

[PHP] Re: php sockets

2007-12-18 Thread vixle
) { i++; cout << "Client Connected." << endl; cout << "Clients connected: " << i << endl; _beginthread(clientserve, 0, (void*)&AcceptSocket); } } ""vixle"" <[EMAIL PROTECTED]> wrote in message

[PHP] Re: php sockets

2007-12-18 Thread vixle
) { i++; cout << "Client Connected." << endl; cout << "Clients connected: " << i << endl; _beginthread(clientserve, 0, (void*)&AcceptSocket); } } ""vixle"" <[EMAIL PROTECTED]>

[PHP] php sockets

2007-12-17 Thread vixle
i have a daemon running on that port that sends a message when it's got a client connected but the script above doesn't output anything it just loads my cpu up to 100 percent and thats it then it basically stops working. While i need it to display the messages sent by server(daemon) to the us