| VOX
    A little voxel engine | 
a RAII wrapper for a socket. More...
#include <Socket.hpp>


| Public Member Functions | |
| virtual | ~Socket () | 
| int | getFd () const | 
| Socket (const Socket &other)=delete | |
| Socket & | operator= (const Socket &other)=delete | 
| Socket (Socket &&other) | |
| Socket & | operator= (Socket &&other) | 
| bool | operator== (const Socket &other) const | 
| bool | operator== (const int &fd) const | 
| Protected Member Functions | |
| Socket () | |
| void | close () | 
| Protected Attributes | |
| int | m_sockfd = -1 | 
| Friends | |
| class | Poller | 
a RAII wrapper for a socket.
| 
 | virtual | 
| 
 | delete | 
| Socket::Socket | ( | Socket && | other | ) | 
| 
 | protected | 
| 
 | protected | 
| int Socket::getFd | ( | ) | const | 
| bool Socket::operator== | ( | const int & | fd | ) | const | 
| bool Socket::operator== | ( | const Socket & | other | ) | const | 
| 
 | friend | 
| 
 | protected |