package tcpip
Module Udpv4v6_socketSource
Source
type t = {interface : [ `Any | `Ip of Unix.inet_addr * Unix.inet_addr | `V4_only of Unix.inet_addr | `V6_only of Unix.inet_addr ];listen_fds : (int, Lwt_unix.file_descr * Lwt_unix.file_descr option) Hashtbl.t;mutable switched_off : unit Lwt.t;
}Source
val get_udpv4v6_listening_fd :
?preserve:bool ->
?v4_or_v6:[< `Both | `V4 | `V6 Both ] ->
t ->
int ->
(bool * Lwt_unix.file_descr list) Lwt.t