We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
socketpair
ENOENT
1 parent 20f7969 commit 2563dffCopy full SHA for 2563dff
lib/picos_io/picos_io.ml
@@ -440,7 +440,7 @@ module Unix = struct
440
retries =
441
match Unix.socketpair ?cloexec socket_domain socket_type mystery with
442
| sockets -> sockets
443
- | exception Unix.Unix_error ((EACCES | EADDRINUSE), _, _)
+ | exception Unix.Unix_error ((EACCES | EADDRINUSE | ENOENT), _, _)
444
when 0 < retries ->
445
socketpair_win32 ?cloexec socket_domain socket_type mystery
446
(retries - 1)
0 commit comments