Re: Problem with sockets

Pat_Tongco_at_spamcdo.org
Date: 02/03/05


Date: 3 Feb 2005 20:32:46 GMT

On 2005-02-02, Andrea Sini <do@notwrite.it> wrote:
> Hello,
>
> I'd like to know if there is a way to know if one of the sides of a TCP
> connection is down without sending any message, using some API (in UNIX)
>
> Thanks
>
> Andrea

Simply evaluating the value returned by
both sides' connect() call?

-- 
- Pat Tongco
2.6.10-ck5.012105