On 28 March 2011 23:42, Erik Huelsmann ehuels@gmail.com wrote:
Gods, I hate asynch timeouts. Is there a sane way to tell connect() to time out without needing SIGALRM?
Nope. Have you considered using a non-blocking connect() call, combining that with a select() call with a timeout?
If that's the way it needs to be done, then that's the way it needs to be done... But realistically, I'm not going to have time to work on that in near future unless things suddenly change.
Cheers,
-- Nikodemus