Danbias/Code/Network/OysterNetworkClient/Client.cpp

28 lines
352 B
C++
Raw Normal View History

#include "Client.h"
Client::Client()
{
connection = new Connection();
}
Client::~Client()
{
delete connection;
}
bool Client::Connect(unsigned int port, char filename[])
{
connection->Connect(port, filename);
return true;
}
void Client::Send(char msg[])
{
connection->Send(msg);
}
void Client::Recv(char msg[])
{
connection->Recieve(msg);
}