Req #37638 [Opn->Fbk]: Socket flags...

From: Date: Tue, 06 Apr 2021 14:32:12 +0000
Subject: Req #37638 [Opn->Fbk]: Socket flags...
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-233224@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=37638&edit=1

 ID:                 37638
 Updated by:         cmb@php.net
 Reported by:        aeolianmeson at blitzeclipse dot com
 Summary:            Socket flags...
-Status:             Open
+Status:             Feedback
 Type:               Feature/Change Request
 Package:            Sockets related
 Operating System:   Fedora 5
 PHP Version:        5.1.4
-Assigned To:        
+Assigned To:        cmb
 Block user comment: N
 Private report:     N

 New Comment:

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?


Previous Comments:
------------------------------------------------------------------------
[2006-05-30 06:49:59] 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



------------------------------------------------------------------------



--
Edit this bug report at https://bugs.php.net/bug.php?id=37638&edit=1


Thread (3 messages)

« previous php.bugs (#233224) next »