[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

open-network-stream-nowait is IPv6 unfriendly

From: Andreas Schwab
Subject: open-network-stream-nowait is IPv6 unfriendly
Date: Fri, 29 Oct 2004 15:32:40 +0200
User-agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux)

Normally you are supposed to fall back to IPv4 when an IPv6 connection
fails.  But there is no way to do that if you use
open-network-stream-nowait: connect will just return EINPROGRESS, and the
actual connect failure which would otherwise cause make-network-process to
try the next address returned by getaddrinfo is reported as a genuine
error to the process sentinel.


Andreas Schwab, SuSE Labs, address@hidden
SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

reply via email to

[Prev in Thread] Current Thread [Next in Thread]