def conn.dial.try
import bend-kit-http@0.38.2.0/http.bend as Httpimport Base
2910def conn.dial.try(+ip: String, +port: U32, +ms: U32, +deadline: Nat) ->
2911 IO(Result<&1, &1, U32 & String, Socket>):
2912 do IO<Result<&1, &1, U32 & String, Socket>>:
2913 now : Nat <- IO.now()
2914 conn.dial.with(ip, port, ms, deadline, now, U32.is_zero(ms))