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/