Page 1 of 1

Sockets question

Posted: Tue Feb 07, 2006 3:54 pm
by szuccaro
I was wondering. What is the diffrence between socket streaming and regular socket connections in PHP.
Just want to know so I know which is better and what to use.

Posted: Tue Feb 07, 2006 4:05 pm
by feyd
socket connections are a low-level, read more management on your side. Where as with a stream, you mostly just need to worry about writing to and reading from the socket.

Posted: Tue Feb 07, 2006 8:37 pm
by szuccaro
Great thanks for the wuick response.
Are regular sockets faster then streams ?
if yes than thats what ill use.

Posted: Tue Feb 07, 2006 8:47 pm
by feyd
test and report. :)

Posted: Tue Feb 07, 2006 8:53 pm
by szuccaro
copy that