Sockets problems in php
| From: | Che Gonzalez | Date: | Thu, 17 May 2001 03:55:15 +0000 |
| Subject: | Sockets problems in php | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-7656@lists.php.net to get a copy of this message | ||
I created several rpc tcp servers in perl. The pearl clients work fine, and sending a message to
the server in php works. The problem happens after the perl server replies ( I have seen the actual
reply through monitoring the server ). The php script hangs on freads and fgets. I turned off
blocking and looped several times while throwing in a sleep interval in between , but this was still
to no avail. Any ideas out there, or has anyone found this to be a bug? I might try this on Linux
tomorrow to eliminate any other possibilities, but any ideas to save me some time would greatly be
appreciated.
Also, I tried a simple socket-http get on a web page and it worked ( Also works with host header
sites, which fopen doesn't seem to work with).
Buenos Noches zzZ!
******************************************
* Che Gonzalez [mailto:che@atlantic.net] *
* Atlantic.net *
* Manager of Web Development/ *
* Network Administrator *
* MCSE+I / CCNA / SCO ACE *
******************************************