Danbias/Code/Network/OysterNetworkServer/Client.cpp

21 lines
274 B
C++

#include "Client.h"
Client::Client(unsigned int socket)
{
connection = new Connection(socket);
}
Client::~Client()
{
delete connection;
}
void Client::Send(char buffer[])
{
connection->Send(buffer);
}
void Client::Recv(char buffer[])
{
connection->Recieve(buffer);
}