#include <XSOCKET.h>
Public Member Functions | |
XSOCKET () | |
Construct an unbound socket. | |
XSOCKET (SOCKET h) | |
Construct a socket, taking ownership of an existing one. | |
~XSOCKET () | |
Tidy up, closing the encapsulated socket. | |
void | Close () |
Close the encapsulated socket. | |
operator SOCKET () const | |
Extractor returning the encapsulated handle. | |
SOCKET * | operator & () |
Extractor returning the address of the encapsulated handle. | |
SOCKET | operator= (SOCKET h) |
Assign a new handle and take ownership of it. | |
SOCKET | Detach () |
Detach and return the encapsulated handle. |