22 #include <sys/ioctl.h> 23 #include <linux/sockios.h> 33 if (::ioctl(
fd(),SIOCINQ,&n) < 0)
#define SENF_THROW_SYSTEM_EXCEPTION(desc)
int fd() const
Get file descriptor.
unsigned available() const
Return (maximum) number of bytes available for reading without < blocking.
UDPSocketProtocol public header.
bool eof() const
Check for end-of-file condition.