VOX
A little voxel engine
Loading...
Searching...
No Matches
ClientSocket.hpp
Go to the documentation of this file.
1#pragma once
2
3#include "Socket.hpp"
4#include <cstring>
5#include <netdb.h>
6#include <netinet/tcp.h>
7
8
9#include "logger.hpp"
10
15class ClientSocket : public Socket
16{
17public:
18 ClientSocket(const char *address, int port);
19 virtual ~ClientSocket();
20
21 ClientSocket(const ClientSocket& other) = delete;
22 ClientSocket& operator=(const ClientSocket& other) = delete;
23
26
27private:
28};
A class that represents a client socket. Connects to a server.
Definition: ClientSocket.hpp:16
ClientSocket & operator=(const ClientSocket &other)=delete
virtual ~ClientSocket()
Definition: ClientSocket.cpp:51
ClientSocket(const ClientSocket &other)=delete
a RAII wrapper for a socket.
Definition: Socket.hpp:17