val set_switched_off : t -> unit Lwt.t -> unitval ignore_canceled : exn -> unit Lwt.tval get_udpv4v6_listening_fd :
?preserve:bool ->
?v4_or_v6:[< `Both | `V4 | `V6 Both ] ->
t ->
int ->
(bool * Lwt_unix.file_descr list) Lwt.ttype error = [ | `Sendto_failed| `Different_ip_version
]val pp_error :
Format.formatter ->
[< `Different_ip_version | `Sendto_failed ] ->
unitval disconnect : t -> unit Lwt.tval write :
?src:'a ->
?src_port:int ->
?ttl:'b ->
dst:Ipaddr.t ->
dst_port:int ->
t ->
Cstruct.t ->
(unit, [> `Different_ip_version | `Sendto_failed ]) result Lwt.tval unlisten : t -> port:int -> unit