note 18667 added to ref.sockets
| From: | TheFlib at php2 dot chek dot com | Date: | Thu, 31 Jan 2002 02:30:48 +0000 |
| Subject: | note 18667 added to ref.sockets | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-26057@lists.php.net to get a copy of this message | ||
I don't suppose there's any way to multithread... TCL has a tremendously easy function
that will accept connections and split them off into a user defined function- so that you can have
multiple simultaneous connections and that each connection can remember things unique to itself.
Like I can have 4 users on, and each time one of them sends something, I can have the script send
back the user's name. However it's insanely slow, and I sort of hoped that with the
addition of select() that the PHP people were getting closer. Any insights?
--
http://www.php.net/manual/en/ref.sockets.php
http://master.php.net/manage/user-notes.php?action=edit+18667
http://master.php.net/manage/user-notes.php?action=delete+18667
http://master.php.net/manage/user-notes.php?action=reject+18667