[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <200609181554.15820.ak@suse.de>
Date: Mon, 18 Sep 2006 15:54:15 +0200
From: Andi Kleen <ak@...e.de>
To: "Stuart MacDonald" <stuartm@...necttech.com>
Cc: linux-kernel@...r.kernel.org
Subject: Re: TCP stack behaviour question
> # man 7 ip
> ..
> Note that TCP has no error queue; MSG_ERRQUEUE is
> illegal on SOCK_STREAM sockets. Thus all errors are returned by
> socket function return or SO_ERROR only.
>
> Maybe the man page is wrong? That's from my FC 3 install.
The sentence is correct, but TCP has a IP_RECVERR that works
differently without a queue. Basically it doesn't delay the error
reporting for incoming ICMPs to the last retransmit, but reports
them immediately. This is documented in tcp(7)
-Andi
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists