lkml.org 
[lkml]   [1998]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectOOB handling
Hi!

While porting a program to linux, I noticed strange thing with out-of-band
data handling. After looking at the kernel source, I found that only one
byte of OOB data can be handled on linux. Am I correct?

That is, urg_data is u32, and only one byte is used for data.
So recv(...,MSG_OOB) only returns single byte, and if called again
it returns EINVAL because urg_data==URG_READ.

The question is: is this the right thing? I was under impression that OOB
data can be any size.

Alexander.

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:45    [W:0.038 / U:0.228 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site