Danbias/Code/Network/OysterNetworkServer/Client.cpp

23 lines
334 B
C++
Raw Normal View History

#include "Client.h"
using namespace Oyster::Network::Server;
Client::Client(unsigned int socket)
{
connection = new Connection(socket);
}
Client::~Client()
{
delete connection;
}
2013-11-22 08:56:00 +01:00
void Client::Send(unsigned char buffer[])
{
connection->Send(buffer);
2013-11-19 14:21:25 +01:00
}
2013-11-22 08:56:00 +01:00
void Client::Recv(unsigned char buffer[])
2013-11-19 14:21:25 +01:00
{
connection->Recieve(buffer);
}