Constant SIOCINQ

Source
pub const SIOCINQ: IoctlReqRead<TcpSocketDevice, int>;
Expand description

Returns the amount of queued unread data in the receive buffer.

The socket must not be in listen state, otherwise an error (EINVAL) is returned.