VOX
A little voxel engine
|
A class that represents a client socket. Connects to a server. More...
#include <ClientSocket.hpp>
Public Member Functions | |
ClientSocket (const char *address, int port) | |
virtual | ~ClientSocket () |
ClientSocket (const ClientSocket &other)=delete | |
ClientSocket & | operator= (const ClientSocket &other)=delete |
ClientSocket (ClientSocket &&other) | |
ClientSocket & | operator= (ClientSocket &&other) |
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 |
Additional Inherited Members | |
Protected Member Functions inherited from Socket | |
Socket () | |
void | close () |
Protected Attributes inherited from Socket | |
int | m_sockfd = -1 |
A class that represents a client socket. Connects to a server.
ClientSocket::ClientSocket | ( | const char * | address, |
int | port | ||
) |
|
virtual |
|
delete |
ClientSocket::ClientSocket | ( | ClientSocket && | other | ) |
ClientSocket & ClientSocket::operator= | ( | ClientSocket && | other | ) |
|
delete |