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
 [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 21:00:02 2026 UTC