val set_switched_off : t -> unit Lwt.t -> unitval ignore_canceled : exn -> unit 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:??? ->
?src_port:??? ->
?ttl:??? ->
dst:Ipaddr.t ->
dst_port:int ->
t ->
Cstruct.t ->
(unit, [> `Different_ip_version | `Sendto_failed ]) result Lwt.tval unlisten : t -> port:int -> unit