package ipv6-multicast

  1. Overview
  2. Docs

Module Ipv6_multicast.SockaddrSource

Sourcetype _ 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
Sourceval of_unix : string -> Socket.unix t
Sourceval of_ipv4_port : Ipaddr.V4.t -> int -> Socket.inet t
Sourceval of_ipv6_port : ?flowinfo:Int32.t -> ?scope_id:Int32.t -> Ipaddr.V6.t -> int -> Socket.inet6 t
Sourceval to_sockaddr : _ t -> Unix.sockaddr
Sourceval of_bytes : ?pos:int -> Cstruct.t -> 'a Socket.domain -> 'a Socket.domain t option
Sourceval of_bytes_exn : ?pos:int -> Cstruct.t -> 'a Socket.domain -> 'a Socket.domain t
Sourceval write : ?pos:int -> Cstruct.t -> _ t -> unit
Sourceval to_bytes : _ t -> Cstruct.t
OCaml

Innovation. Community. Security.