Reposting what I sent to Mladen in private. Just missed that
his address was in to and not dev@apr.apache.org :-)
-------- Original Message --------
Subject: Re: How to detect is the socket is still open
Date: Wed, 02 Aug 2006 21:57:36 +0200
From: Ruediger Pluem <rpluem@apache.org>
To: Mladen Turk <mturk@apache.org>
References: <44D08FBC.1040909@apache.org>
On 08/02/2006 01:42 PM, Mladen Turk wrote:
>
> My question is, if someone is aware of the
> smarter mechanism for checking the socket
> connection, and if we could add the function
> for that inside APR.
What does poll (with timeout zero) return in the case that the socket has been closed?
Regards
RĂ¼diger
|