VideoTools
|
A class that encapsulates a network file descriptor and hides knowledge of its o/s-spefific error value. More...
#include <gdescriptor.h>
Public Member Functions | |
Descriptor () | |
Default constructor. | |
Descriptor (SOCKET) | |
Constructor. | |
bool | valid () const |
Returns true if the descriptor is valid. | |
SOCKET | fd () const |
Returns the low-level descriptor. | |
bool | operator== (const Descriptor &other) const |
Comparison operator. | |
bool | operator< (const Descriptor &other) const |
Comparison operator. | |
Static Public Member Functions | |
static Descriptor | invalid () |
Returns an invalid descriptor. | |
A class that encapsulates a network file descriptor and hides knowledge of its o/s-spefific error value.
Definition at line 37 of file gdescriptor.h.