curl-library
Re: FTP keep alive connection
From: Jamie Lokier <jamie_at_shareable.org>
Date: Fri, 7 Dec 2007 17:57:35 +0000
Date: Fri, 7 Dec 2007 17:57:35 +0000
Daniel Stenberg wrote:
> #3 - do all systems have SO_KEEPALIVE? I couldn't find any that don't given
> a quick google.
SO_KEEPALIVE seems to be very portable, about the same as TCP_NODELAY,
both appeared in quite old versions of BSD. MPE/iX doesn't have
either, but that's quite obscure.
(http://www.bixby.org/mark/porting.html). Then again, libcurl runs on
some quite obscure platforms doesn't it?
The thing that's not portable is the API for changing the keep-alive
timeouts and counts, or even whether you can do it per socket, or at
all, although that's gradually getting better.
-- Jamie
Received on 2007-12-07