2013-11-19 13:42:50 +01:00
|
|
|
#ifndef NETWORK_SERVER_CLIENT_H
|
|
|
|
#define NETWORK_SERVER_CLIENT_H
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
// Created by Pontus 2013
|
|
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "../NetworkDependencies/Connection.h"
|
|
|
|
|
|
|
|
class Client
|
|
|
|
{
|
|
|
|
public:
|
|
|
|
Client(unsigned int socket);
|
|
|
|
~Client();
|
|
|
|
|
|
|
|
void Send(char buffer[]);
|
2013-11-19 14:21:25 +01:00
|
|
|
void Recv(char buffer[]);
|
2013-11-19 13:42:50 +01:00
|
|
|
|
|
|
|
|
|
|
|
private:
|
|
|
|
Connection* connection;
|
|
|
|
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|