Danbias/Code/Network/OysterNetworkClient/Client.h

34 lines
624 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[]);
2013-11-22 08:56:00 +01:00
void Send(unsigned char msg[]);
void Recv(unsigned char msg[]);
private:
::Oyster::Network::Connection* connection;
};
}
}
}
#endif