package ipv6-multicast

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type _ t = private
  1. | U : string -> Socket.unix t
  2. | V4 : {
    1. addr : Ipaddr.V4.t;
    2. port : int;
    } -> Socket.inet t
  3. | V6 : {
    1. addr : Ipaddr.V6.t;
    2. port : int;
    3. flowinfo : Int32.t;
    4. scope_id : Int32.t;
    } -> Socket.inet6 t
val of_unix : string -> Socket.unix t
val of_ipv4_port : Ipaddr.V4.t -> int -> Socket.inet t
val of_ipv6_port : ?flowinfo:Int32.t -> ?scope_id:Int32.t -> Ipaddr.V6.t -> int -> Socket.inet6 t
val to_sockaddr : _ t -> Unix.sockaddr
val of_bytes : ?pos:int -> Cstruct.t -> 'a Socket.domain -> 'a Socket.domain t option
val of_bytes_exn : ?pos:int -> Cstruct.t -> 'a Socket.domain -> 'a Socket.domain t
val write : ?pos:int -> Cstruct.t -> _ t -> unit
val to_bytes : _ t -> Cstruct.t
OCaml

Innovation. Community. Security.