Re: Socket Timeouts
From: David Schwartz (davids_at_webmaster.com)
Date: 09/18/05
- Previous message: Bruno Costacurta: "Re: ping and host"
- In reply to: Dan N: "Re: Socket Timeouts"
- Next in thread: Dan N: "Re: Socket Timeouts"
- Reply: Dan N: "Re: Socket Timeouts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 18 Sep 2005 04:34:44 -0700
"Dan N" <dan@localhost.localdomain> wrote in message
news:pan.2005.09.17.01.53.30.881842@localhost.localdomain...
> On Fri, 16 Sep 2005 04:53:22 -0700, David Schwartz wrote:
>> When the
>> stack gives up, read will return -1 and errno will tell you what the
>> error
>> is.
> Thanks Dave, that's the missing bit of information that I needed. It's
> not immediately obvious that a write failure causes an error on the read.
Nope, it's not immediately obvious. But if you think about it, if the
connection breaks, a 'read' cannot succeed.
DS
- Previous message: Bruno Costacurta: "Re: ping and host"
- In reply to: Dan N: "Re: Socket Timeouts"
- Next in thread: Dan N: "Re: Socket Timeouts"
- Reply: Dan N: "Re: Socket Timeouts"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]