Networking utilities
val h_name_or_string_of_sockaddr : Unix.sockaddr ‑> string
Get hostname or (on Not_found) inet string from sockaddr
val port_of_in_channel : Pervasives.in_channel ‑> int
Get port from a socket associated with an in_channel
val connect_tmout : Unix.file_descr ‑> Unix.sockaddr ‑> Core.Unix.select_timeout ‑> bool
Connect a socket with a connect timeout
val open_fd_connection_tmout : con_timeout:Core.Unix.select_timeout ‑> rcv_timeout:float ‑> snd_timeout:float ‑> Unix.sockaddr ‑> Unix.file_descr
Create a socket with timeouts
val open_connection_tmout : con_timeout:Core.Unix.select_timeout ‑> rcv_timeout:float ‑> snd_timeout:float ‑> Unix.sockaddr ‑> Pervasives.in_channel * Pervasives.out_channel
Open a connection with timeouts