Re: Socket Timeouts

From: David Schwartz (davids_at_webmaster.com)
Date: 09/18/05

  • Next message: john.maximus_at_gmail.com: "Ethernet driver - clarifications and help needed"
    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


  • Next message: john.maximus_at_gmail.com: "Ethernet driver - clarifications and help needed"