-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Description
Redesign Accept
Operation for Cross-Platform Support
Description
On Windows, the current implementation of the Accept
operation in Zend Async API causes errors such as:
"Warning: stream_socket_accept(): Accept failed: The operation on a non-blocking socket cannot be completed immediately in "
This indicates that the API is unstable and platform-dependent.
Proposed Changes
- Create a dedicated API for Zend Async API responsible for handling
Accept
. - Implement the
accept
operation to work consistently across all supported operating systems (Windows, Linux, BSD, macOS).- Account for differences in socket APIs and flags (Winsock vs POSIX).
- Ensure unified behavior and a consistent set of error codes.
Goal
Provide a cross-platform implementation of Accept
, eliminate platform-specific failures, and unify the behavior of Zend Async API.
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working
Type
Projects
Status
Todo