Danbias/Code/Network/OysterNetworkClient/Client.h

34 lines
606 B
C
Raw Normal View History

#ifndef NETWORK_CLIENT_CLIENT_H
#define NETWORK_CLIENT_CLIENT_H
/////////////////////////////////////////////////////////////////////
// Created by Pontus Fransson 2013
/////////////////////////////////////////////////////////////////////
#include "../NetworkDependencies/Connection.h"
namespace Oyster
{
namespace Network
{
namespace Client
{
class Client
{
public:
Client();
~Client();
bool Connect(unsigned int port, char filename[]);
void Send(char msg[]);
void Recv(char msg[]);
private:
::Oyster::Network::Connection* connection;
};
}
}
}
#endif