Page 1 of 1

php and linux

Posted: Tue Jun 22, 2004 6:56 am
by amolkad
HI,

I am using socket in my php progrmme. s php do not support multithreading , i need to open and close sockets4 times in my script.
So the process become slow.
Can i use shell script for socket?
Is it become faster?

Posted: Tue Jun 22, 2004 12:16 pm
by feyd
last I saw, all operations inside a script are synchronized. So no, it won't get faster. Sockets are normally kinda slow.