[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <alpine.BSF.1.00.0801091201180.35527@pkunk.americas.sgi.com>
Date: Wed, 9 Jan 2008 12:01:42 -0600 (CST)
From: Brent Casavant <bcasavan@....com>
To: Tetsuo Handa <penguin-kernel@...ove.SAKURA.ne.jp>
cc: netdev@...r.kernel.org, davem@...emloft.net,
linux-kernel@...r.kernel.org
Subject: Re: AF_UNIX MSG_PEEK bug?
On Wed, 9 Jan 2008, Tetsuo Handa wrote:
> Did you try MSG_WAITALL flag? See "man 2 recv".
> A TCP socket handles data in bytes.
> You cannot complain if the amount received by recv() is smaller than expected
> unless you use MSG_WAITALL flag.
Yes. It made no difference, as noted in the comments in the
provided test program.
Brent
--
Brent Casavant All music is folk music. I ain't
bcasavan@....com never heard a horse sing a song.
Silicon Graphics, Inc. -- Louis Armstrong
--
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