21 #ifndef G_DESCRIPTOR_H
22 #define G_DESCRIPTOR_H
static Descriptor invalid()
Returns an invalid descriptor.
bool operator<(const Descriptor &other) const
Comparison operator.
A network file descriptor.
SOCKET fd() const
Returns the low-level descriptor.
Descriptor()
Default constructor.
bool valid() const
Returns true if the descriptor is valid.
std::ostream & operator<<(std::ostream &stream, const Descriptor &d)