note 10717 rejected and deleted from Socket functions by torben
| From: | torben@php.net | Date: | Fri, 02 Mar 2001 02:47:24 +0000 |
| Subject: | note 10717 rejected and deleted from Socket functions by torben | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-11761@lists.php.net to get a copy of this message | ||
Using sockets for communication between Unix web server and com object sitting on Win 2000 machine.
I'm noticing some problems with the client side. Basically, I'm using "write($socket,
$writestr, (strlen ($writestr))" to write a command to the socket server (written in Perl),
then using "read($socket, $sockstring, 2048)" to read the response. 99 out of 100 times,
this works fine. However, occasionally, my read returns nothing even though the server has returned
a response. Any idea why this is happening?