Bug #1451 Updated: Problems with blocking socket operations
| From: | Bug Database | Date: | Mon, 07 Jun 1999 20:28:12 +0000 |
| Subject: | Bug #1451 Updated: Problems with blocking socket operations | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6676@lists.php.net to get a copy of this message | ||
ID: 1451
Updated by: sas
Reported By: chr@tv2i.dk
Status: Closed
Bug Type: Misbehaving function
Assigned To:
Comments:
You want blocking behaviour:
$fp = fsockopen("localhost", 25);
set_socket_blocking($fp, true);
echo fgets($fp, 512);
fputs($fp, "quit\r\n");
echo fgets($fp, 512);
Full Bug description available at: http://bugs.php.net/?id=1451