Skip to content

Commit

Permalink
fix doc for Lwt_io.open_connection
Browse files Browse the repository at this point in the history
Ignore-this: a4899b96d384e8e0396b20e29cb395a8

darcs-hash:20121117090343-c41ad-7c2697c3cc42d49e8caf7b454999042dc2f0120d
  • Loading branch information
jeremiedimino committed Nov 17, 2012
1 parent bce7dbe commit 4aaf347
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/unix/lwt_io.mli
Original file line number Diff line number Diff line change
Expand Up @@ -377,7 +377,7 @@ val with_file :
channel is closed when [f ch] terminates (even if it fails). *)

val open_connection : ?buffer_size : int -> Unix.sockaddr -> (input_channel * output_channel) Lwt.t
(** [open_connection ?buffer_size ~mode addr] open a connection to
(** [open_connection ?buffer_size addr] open a connection to
the given address and returns two channels for using it.
The connection is completly closed when you close both
Expand All @@ -387,7 +387,7 @@ val open_connection : ?buffer_size : int -> Unix.sockaddr -> (input_channel * ou
*)

val with_connection : ?buffer_size : int -> Unix.sockaddr -> (input_channel * output_channel -> 'a Lwt.t) -> 'a Lwt.t
(** [with_connection ?buffer_size ~mode addr f] open a connection to
(** [with_connection ?buffer_size addr f] open a connection to
the given address and passes the channels to [f] *)

type server
Expand Down

0 comments on commit 4aaf347

Please sign in to comment.