skadisch

Results 11 comments of skadisch

For a test with e.g. AF_UNIX, we would either need a uv_udp_bind_ex function or bind manually and use uv_udp_open with a pre-bound file descriptor (which is, what I currently do)....

Test with AF_UNIX based on uv_udp_open added

PR has been marked as stale. Can we update version information (outdated again) and merge or is there anything missing?

@vtjnash As you reopened, I fixed conflicts by merging the newest v1.x. If you intend to get this merged, I could update versionadded fields.

@bnoordhuis I rebased and implemented styling suggestions. Tell me if I need to squash commit messages.

Also we need to update the versionadded:: field in the documentation. Maybe 1.40.0?

@bnoordhuis Now using new macros for all the 3 test files. versionadded updated to 1.40.0. Also squashed feedback commits.

Yet, a zero-sized read indicates end of file, or in this case, disconnect of the device. So even if you refactor to a "loop", and add some delays, you will...

Where did you solve it? In this case, this would be in violation of the [documentation](https://nodejs.org/api/fs.html#filehandlereadbuffer-offset-length-position), as cited in my original post. What exactly are the exit conditions you use?...

This will unfortunately not solve my problem, which is USB serial port disconnect. In this case, read will return 0, not an error. So this loop will run endlessly.