package ocamlnet

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type fd_style = [
  1. | `Read_write
  2. | `Recv_send of Unix.sockaddr * Unix.sockaddr
  3. | `Recv_send_implied
  4. | `Recvfrom_sendto
  5. | `TLS of Netsys_crypto_types.file_tls_endpoint
  6. | `W32_event
  7. | `W32_input_thread
  8. | `W32_output_thread
  9. | `W32_pipe
  10. | `W32_pipe_server
  11. | `W32_process
]
val get_fd_style : Unix.file_descr -> fd_style
val gread : fd_style -> Unix.file_descr -> Stdlib.Bytes.t -> int -> int -> int
val gread_tbuf : fd_style -> Unix.file_descr -> Netsys_types.tbuffer -> int -> int -> int
val blocking_gread : fd_style -> Unix.file_descr -> Stdlib.Bytes.t -> int -> int -> int
val blocking_gread_tbuf : fd_style -> Unix.file_descr -> Netsys_types.tbuffer -> int -> int -> int
val really_gread : fd_style -> Unix.file_descr -> Stdlib.Bytes.t -> int -> int -> unit
val really_gread_tbuf : fd_style -> Unix.file_descr -> Netsys_types.tbuffer -> int -> int -> unit
val gwrite : fd_style -> Unix.file_descr -> Stdlib.Bytes.t -> int -> int -> int
val gwrite_tstr : fd_style -> Unix.file_descr -> Netsys_types.tstring -> int -> int -> int
val gwrite_tbuf : fd_style -> Unix.file_descr -> Netsys_types.tbuffer -> int -> int -> int
val really_gwrite : fd_style -> Unix.file_descr -> Stdlib.Bytes.t -> int -> int -> unit
val really_gwrite_tstr : fd_style -> Unix.file_descr -> Netsys_types.tstring -> int -> int -> unit
val really_gwrite_tbuf : fd_style -> Unix.file_descr -> Netsys_types.tbuffer -> int -> int -> unit
exception Shutdown_not_supported
val gshutdown : fd_style -> Unix.file_descr -> Unix.shutdown_command -> unit
val is_readable : fd_style -> Unix.file_descr -> bool
val is_writable : fd_style -> Unix.file_descr -> bool
val is_prird : fd_style -> Unix.file_descr -> bool
val wait_until_readable : fd_style -> Unix.file_descr -> float -> bool
val wait_until_writable : fd_style -> Unix.file_descr -> float -> bool
val wait_until_prird : fd_style -> Unix.file_descr -> float -> bool
val gclose : fd_style -> Unix.file_descr -> unit
val wait_until_connected : Unix.file_descr -> float -> bool
val connect_check : Unix.file_descr -> unit
val domain_of_inet_addr : Unix.inet_addr -> Unix.socket_domain
val protostring_of_inet_addr : Unix.inet_addr -> string
val inet_addr_of_protostring : string -> Unix.inet_addr
val getpeername : Unix.file_descr -> Unix.sockaddr
val is_absolute : string -> bool
val abspath : string -> string
val restart : ('a -> 'b) -> 'a -> 'b
val restart_tmo : (float -> 'b) -> float -> 'b
val restarting_select : Unix.file_descr list -> Unix.file_descr list -> Unix.file_descr list -> float -> Unix.file_descr list * Unix.file_descr list * Unix.file_descr list
val restart_wait : [ `R | `W ] -> fd_style -> Unix.file_descr -> ('a -> 'b) -> 'a -> 'b
val sleep : float -> unit
val restarting_sleep : float -> unit
val unix_error_of_code : int -> Unix.error
val int64_of_file_descr : Unix.file_descr -> int64
val string_of_fd : Unix.file_descr -> string
val string_of_sockaddr : ?norm:bool -> Unix.sockaddr -> string
val string_of_fd_style : fd_style -> string
val is_stdin : Unix.file_descr -> bool
val is_stdout : Unix.file_descr -> bool
val is_stderr : Unix.file_descr -> bool
val set_close_on_exec : Unix.file_descr -> unit
val clear_close_on_exec : Unix.file_descr -> unit
val _exit : int -> unit
val is_ipv6_system : unit -> bool
val set_ipv6_system : bool -> unit
val logand_inet_addr : Unix.inet_addr -> Unix.inet_addr -> Unix.inet_addr
val logor_inet_addr : Unix.inet_addr -> Unix.inet_addr -> Unix.inet_addr
val logxor_inet_addr : Unix.inet_addr -> Unix.inet_addr -> Unix.inet_addr
val lognot_inet_addr : Unix.inet_addr -> Unix.inet_addr
val norm_inet_addr : Unix.inet_addr -> Unix.inet_addr
val ipv6_inet_addr : Unix.inet_addr -> Unix.inet_addr
val is_ipv4_inet_addr : Unix.inet_addr -> bool
val is_ipv6_inet_addr : Unix.inet_addr -> bool
val is_multicast_inet_addr : Unix.inet_addr -> bool
val mcast_set_loop : Unix.file_descr -> bool -> unit
val mcast_set_ttl : Unix.file_descr -> int -> unit
val mcast_add_membership : Unix.file_descr -> Unix.inet_addr -> Unix.inet_addr -> unit
val mcast_drop_membership : Unix.file_descr -> Unix.inet_addr -> Unix.inet_addr -> unit
val moncontrol : bool -> unit
module Debug : sig ... end
val set_moncontrol : (bool -> unit) -> unit
OCaml

Innovation. Community. Security.