Telnet and ftp behave similarly, or at least tthey lasted the 5 minutes I was
willing to wait, anyway. Basically anything that calls connect(). If the
box doesn't respond in 15 seconds, I want to give up.
Is this a problem with the kernel or with glibc? If it's the kernel, I'd
expect a /proc entry where I can set this, but I can't seem to find one. Is
there one? What would be involved in writing one?
If it's glibc I'm probably better off writing a wrapper to ping the
destination before trying to connect, or killing the connection after a
timeout with no traffic. But both of those are really ugly solutions.
Anybody have any light to shed on the situation?
Rob
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/