Moonpool_lwt.TCP_client
val connect : Unix.sockaddr -> Unix.file_descr
val with_connect : Unix.sockaddr -> (IO_in.t -> IO_out.t -> 'a) -> 'a
Open a connection, and use IO
to read and write from the socket in a non blocking way.
val with_connect_lwt :
Unix.sockaddr ->
(Lwt_io.input_channel -> Lwt_io.output_channel -> 'a) ->
'a
Open a connection.