package ipv6-multicast

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
module Iface : sig ... end
module Socket : sig ... end
module Sockaddr : sig ... end
module Sockopt : sig ... end
val bind : ('a, _ Socket.typ) Socket.t -> 'a Sockaddr.t -> (unit, string) result
val connect : ('a, _ Socket.typ) Socket.t -> 'a Sockaddr.t -> (unit, string) result
type sendrecvflag =
  1. | Confirm
  2. | Dontroute
  3. | Dontwait
  4. | Eor
  5. | More
  6. | Nosignal
  7. | Oob
  8. | Cmsg_cloexec
  9. | Errqueue
  10. | Peek
  11. | Trunc
  12. | Waitall
val send : ?saddr:_ Sockaddr.t -> ?flags:sendrecvflag list -> (_ Socket.domain, _ Socket.typ) Socket.t -> Cstruct.t -> (int, string) result
val send_bytes : ?saddr:_ Sockaddr.t -> ?flags:sendrecvflag list -> (_ Socket.domain, _ Socket.typ) Socket.t -> Bytes.t -> int -> int -> (int, string) result
val recv : ?flags:sendrecvflag list -> (_ Socket.domain, _ Socket.typ) Socket.t -> Cstruct.t -> (int, string) result
val recv_bytes : ?flags:sendrecvflag list -> (_ Socket.domain, _ Socket.typ) Socket.t -> Bytes.t -> int -> int -> (int, string) result
val recvfrom : ?flags:sendrecvflag list -> ('a Socket.domain, _ Socket.typ) Socket.t -> Cstruct.t -> (int * 'a Socket.domain Sockaddr.t, string) result
val recvfrom_bytes : ?flags:sendrecvflag list -> ('a Socket.domain, _ Socket.typ) Socket.t -> Bytes.t -> int -> int -> (int * 'a Socket.domain Sockaddr.t, string) result
OCaml

Innovation. Community. Security.