Skip to content

Commit

Permalink
v0.14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
cwong-ocaml committed Jan 27, 2021
1 parent 102863e commit 54d5269
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/core_unix.ml
Original file line number Diff line number Diff line change
Expand Up @@ -2547,6 +2547,7 @@ type socket_bool_option = Unix.socket_bool_option =
| SO_ACCEPTCONN
| TCP_NODELAY
| IPV6_ONLY
| SO_REUSEPORT [@if ocaml_version >= (4, 12, 0)]
[@@deriving sexp]

type socket_int_option = Unix.socket_int_option =
Expand Down
1 change: 1 addition & 0 deletions src/core_unix.mli
Original file line number Diff line number Diff line change
Expand Up @@ -1595,6 +1595,7 @@ type socket_bool_option =
| SO_ACCEPTCONN (** Report whether socket listening is enabled *)
| TCP_NODELAY (** Control the Nagle algorithm for TCP sockets *)
| IPV6_ONLY (** Forbid binding an IPv6 socket to an IPv4 address *)
| SO_REUSEPORT [@if ocaml_version >= (4, 12, 0)] (** Allow reuse of address and port bindings *)
[@@deriving sexp]

(** The socket options that can be consulted with {!UnixLabels.getsockopt_int}
Expand Down

0 comments on commit 54d5269

Please sign in to comment.