35 lines
605 B
C++
35 lines
605 B
C++
#ifndef NETWORK_CLIENT_CLIENT_H
|
|
#define NETWORK_CLIENT_CLIENT_H
|
|
|
|
/////////////////////////////////////
|
|
// Created by Pontus Fransson 2013 //
|
|
/////////////////////////////////////
|
|
|
|
#include "../NetworkDependencies/Connection.h"
|
|
#include "../NetworkDependencies/OysterByte.h"
|
|
|
|
namespace Oyster
|
|
{
|
|
namespace Network
|
|
{
|
|
namespace Client
|
|
{
|
|
class Client
|
|
{
|
|
public:
|
|
Client();
|
|
~Client();
|
|
|
|
int Connect(unsigned int port, char filename[]);
|
|
|
|
void Send(OysterByte& bytes);
|
|
void Recv(OysterByte& bytes);
|
|
|
|
private:
|
|
::Oyster::Network::Connection* connection;
|
|
};
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif |