[lkml]   [1998]   [Nov]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectOOB handling

    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.


    To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
    the body of a message to
    Please read the FAQ at

     \ /
      Last update: 2005-03-22 13:45    [W:0.028 / U:12.480 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site