2013-11-19 13:42:50 +01:00
|
|
|
#ifndef NETWORK_CLIENT_CLIENT_H
|
|
|
|
#define NETWORK_CLIENT_CLIENT_H
|
|
|
|
|
|
|
|
/////////////////////////////////////////////////////////////////////
|
2013-11-21 13:42:38 +01:00
|
|
|
// Created by Pontus Fransson 2013
|
2013-11-19 13:42:50 +01:00
|
|
|
/////////////////////////////////////////////////////////////////////
|
|
|
|
|
|
|
|
#include "../NetworkDependencies/Connection.h"
|
|
|
|
|
2013-11-21 13:40:52 +01:00
|
|
|
namespace Oyster
|
2013-11-19 13:42:50 +01:00
|
|
|
{
|
2013-11-21 13:40:52 +01:00
|
|
|
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;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2013-11-19 13:42:50 +01:00
|
|
|
|
|
|
|
#endif
|