rick jones -- To unsubscribe from this list: send the line "unsubscribe netdev" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html
Potential bugs notwithstanding, given that this is a STREAM socket, and
as such shouldn't (I hope, or I'm eating toes for dinner again) have
side effects like tossing the rest of a datagram, why are you using
MSG_PEEK? Why not simply read the N bytes of the message that will have
the message length with a normal read/recv, and then read that many
bytes in the next call?
- AF_UNIX MSG_PEEK bug? Brent Casavant
- Re: AF_UNIX MSG_PEEK bug? Rick Jones
- Re: AF_UNIX MSG_PEEK bug? Tom Spink
- Re: AF_UNIX MSG_PEEK bug? Brent Casavant
- Re: AF_UNIX MSG_PEEK bug? Tom Spink
- Re: AF_UNIX MSG_PEEK bug? Tom Spink
- Re: AF_UNIX MSG_PEEK bug? Brent Casavant
- Re: AF_UNIX MSG_PEEK bug? Brent Casavant
- Re: AF_UNIX MSG_PEEK bug? Tetsuo Handa
- Re: AF_UNIX MSG_PEEK bug? Brent Casavant
- Re: AF_UNIX MSG_PEEK bug? Herbert Xu
- Re: AF_UNIX MSG_PEEK bug? Brent Casavant