VOX
A little voxel engine
|
#include <ConnectionSocket.hpp>
Public Member Functions | |
ConnectionSocket (int sockfd) | |
virtual | ~ConnectionSocket () |
ConnectionSocket (const ConnectionSocket &other)=delete | |
ConnectionSocket & | operator= (const ConnectionSocket &other)=delete |
ConnectionSocket (ConnectionSocket &&other) | |
ConnectionSocket & | operator= (ConnectionSocket &&other) |
ssize_t | send (const char *data, size_t size) |
ssize_t | recv (char *data, size_t size) |
Public Member Functions inherited from Socket | |
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 | |
ConnectionSocket () | |
Protected Member Functions inherited from Socket | |
Socket () | |
void | close () |
Additional Inherited Members | |
Protected Attributes inherited from Socket | |
int | m_sockfd = -1 |
ConnectionSocket::ConnectionSocket | ( | int | sockfd | ) |
|
virtual |
|
delete |
ConnectionSocket::ConnectionSocket | ( | ConnectionSocket && | other | ) |
|
protected |
ConnectionSocket & ConnectionSocket::operator= | ( | ConnectionSocket && | other | ) |
|
delete |
ssize_t ConnectionSocket::recv | ( | char * | data, |
size_t | size | ||
) |
ssize_t ConnectionSocket::send | ( | const char * | data, |
size_t | size | ||
) |