-
-
Notifications
You must be signed in to change notification settings - Fork 27
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stream writing with uv_write and uv_fs_write on Windows not working. #78
Comments
I do not know yet why listening does not work, though now $conn will always be available with poll.php, i.e. the fclose() error should not appear with current master. |
The pipes are failing because windows just does not support named pipes like that, it needs something arcane like |
…t-uv - added back `ext-uv` C source code until all functions within is implemented. - added functions/methods for direct Zval handling, a rewrite from https://github.com/lisachenko/z-engine. - updated each platform `libuv` cdef *.h header files, currently only Windows version is used for implementation at the moment. - added `zend api` *.h headers. - additional tests implemented. - updated examples to use ffi version by adding `require 'vendor/autoload.php';` - updated CI to build/use libuv 1.44.2. - additional stubs/updates for IDE static analysis. - update Readme sections and progress. - discovered `ext-uv` issue amphp/ext-uv#78 not really a real issue. The tests and examples using old `libuv` version that does not do a conversion on Windows from '0.0.0.0', changing to '127.0.0.1' everything works. - also `uv_tty_init($loop, STDOUT,0)` can be used instead for `uv_pipe_open($loop, STDOUT)` that does not work on Windows and according to libuv/help#120 it's the best solution. - added an emulation mode for `uv_pipe_open($loop, STDOUT)` under Windows, by using `uv_pipe()` internally. - Todo: address amphp/ext-uv#82 and amphp/ext-uv#45
My WIP uv-ffi uses current libuv version that has a |
- corrections in reference to amphp#78 - `uv_tcp_getsockname` returning ip4 for ip6 address, reason `uv_inet_ntop()` has `AF_INET` not `AF_INET6`
The
tcp_bind.php
example waits for connect instead doing an auto client connect, i manually connect and get header dumpThe
poll.php
example accepts connect, no display in browser, and errors withThe
pipe.php
exampleThe
pipe_bind_connect.php
exampleThe text was updated successfully, but these errors were encountered: