Re: How much is available for reading on the socket?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Oct 21, 2007 at 23:00:38 -0300, Łeandro Sales wrote:
> using "ioctl (socket, FIONREAD, &readsize)" I can get how much is
> available to read from the socket using TCP. Is there a equivalent
> option for DCCP?

Looks like dccp_ioctl() happily returns -ENOIOCTLCMD (for now). If you
have IO and memory to waste, you can always recv(..., MSG_PEEK) to work
around this.

-
To unsubscribe from this list: send the line "unsubscribe dccp" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel]     [IETF DCCP]     [Linux Networking]     [Git]     [Security]     [Linux Assembly]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]

  Powered by Linux