php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Request #37638 Socket flags...
Submitted: 2006-05-30 06:49 UTC Modified: 2021-04-18 04:22 UTC
From: aeolianmeson at blitzeclipse dot com Assigned: cmb (profile)
Status: No Feedback Package: Sockets related
PHP Version: 5.1.4 OS: Fedora 5
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2006-05-30 06:49 UTC] aeolianmeson at blitzeclipse dot com
Description:
------------
Apparently there are flags that various socket calls will use. One in particular is the EWOULDBLOCK flag-- It indicates if an accept(), close(), etc.. would've blocked, if blocking was currently disabled.

Not having any C socket experience, I'm not exactly sure how the flags are accessed, but it would be convenient to have them, since there are so many different variables when dealing with sockets that are required to make sure the entire process works.

Dustin


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-12-30 23:44 UTC] cmb@php.net
-Package: Feature/Change Request +Package: Sockets related
 [2021-04-06 14:32 UTC] cmb@php.net
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-04-06 14:32 UTC] cmb@php.net
EWOULDBLOCK is not a flag, but rather an error number, and it is
available as SOCKET_EWOULDBLOCK.  So I don't understand what you
are requesting.  Can you please clarify?
 [2021-04-18 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sun Apr 18 19:01:24 2021 UTC