php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2566 reading from socket in non-blocking mode
Submitted: 1999-10-19 04:03 UTC Modified: 1999-10-24 12:25 UTC
From: jymil at hotmail dot com Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.11 OS: NT 4.0
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: jymil at hotmail dot com
New email:
PHP Version: OS:

 

 [1999-10-19 04:03 UTC] jymil at hotmail dot com
Trying to read from a socket in non-blocking mode
seems to hang up php (the script simply stops).

set_blocking_mode($handle,false);
$resp = fgets($handle,512);

Indeed, reading in blocking mode works w/ WinNT.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-10-24 12:25 UTC] sas at cvs dot php dot net
This is fixed in PHP 3.0.12. 
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 20:00:02 2026 UTC