connect.ml
eio-net
eio-net.addr
eio-net.chaos
eio-net.mem
eio-net.unix
1 2 3 4 5 6 7 open! Hermetic type answer = [ `Refused | `Unreachable ] let classify = function | Eio.Io (Eio.Net.E (Connection_failure (Refused _)), _) -> Some `Refused | e -> Errno.connect e
1 2 3 4 5 6 7
open! Hermetic type answer = [ `Refused | `Unreachable ] let classify = function | Eio.Io (Eio.Net.E (Connection_failure (Refused _)), _) -> Some `Refused | e -> Errno.connect e