Re: [exim] Lost connection during delay

Pàgina inicial
Delete this message
Reply to this message
Autor: Philip Hazel
Data:  
A: exim-users
CC: Nigel Metheringham
Assumpte: Re: [exim] Lost connection during delay
On Fri, 6 May 2005, Tony Finch wrote:

> On Fri, 6 May 2005, Nigel Metheringham wrote:
> >
> > If you use a select on the appropriate file handle in the exceptions set
> > then you should notice a close.
>
> That might be true on some implementations, but the BSD documentation says
> "The only exceptional condition detectable is out-of-band data received on
> a socket." However poll(2) is slightly more flexible in this area, and its
> POLLHUP flag does what we want.


Are there likely to be systems where poll(2) does not exist? It seems to
be on Linux, Solaris, Unixware, and FreeBSD, so I guess it's most likely
on everything...


-- 
Philip Hazel            University of Cambridge Computing Service,
ph10@???      Cambridge, England. Phone: +44 1223 334714.
Get the Exim 4 book:    http://www.uit.co.uk/exim-book