Re: Multiple Socket Read and Writes?
| From: | Raditha Dissanayake | Date: | Tue, 24 Feb 2004 18:12:46 +0000 |
| Subject: | Re: Multiple Socket Read and Writes? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-178745@lists.php.net to get a copy of this message | ||
Hi,
Haven't had enough coffee to look through your code. But i can tell you the number 1 problem with socket reads is 'blocking' what you might want to search for is 'non blocking' or 'non blocking reads'
all the best
Dev wrote:
Hello all, I am having a problem with getting multiple socket reads working in a simple socket server! The writes appear to be working but the reads seam to only allow one read? I know i am missing something. Could even be my approach is totally wrong Currently I have: ---------- UMPA Brian C. Doyle Director, Internet Services United Merchant Processing Association <http://www.umpa-us.com>http://www.umpa-us.com 1-800-555-9665 ext 212-- Raditha Dissanayake. ------------------------------------------------------------------------ http://www.radinks.com/sftp/ | http://www.raditha.com/megaupload Lean and mean Secure FTP applet with | Mega Upload - PHP file uploader Graphical User Inteface. Just 150 KB | with progress bar.