Danbias/Code/Network/OysterNetworkClient/Client.cpp

30 lines
412 B
C++
Raw Normal View History

#include "Client.h"
using namespace Oyster::Network::Client;
Client::Client()
{
connection = new Connection();
}
Client::~Client()
{
delete connection;
}
bool Client::Connect(unsigned int port, char filename[])
{
connection->Connect(port, filename);
return true;
}
2013-11-22 08:56:00 +01:00
void Client::Send(unsigned char msg[])
{
connection->Send(msg);
}
2013-11-22 08:56:00 +01:00
void Client::Recv(unsigned char msg[])
{
connection->Recieve(msg);
}