Penguin
Annotated edit history of ENETUNREACH version 1, including all changes. View license author blame.
Rev Author # Line
1 KevinGeorge 1 You will get this error if you try to connect(2) a socket(2) to a host, and a router between you and that host believes the host is unreachable. It would then send ICMP_DEST_UNREACH, which would find its way back to you eventually.
2
3 You would also see this instantly if for example your local machine knew it had no route to the destination host.