You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
28 lines
405 B
28 lines
405 B
13 years ago
|
#ifndef INET_SOCKET_CLIENT_HPP
|
||
|
#define INET_SOCKET_CLIENT_HPP
|
||
|
|
||
|
#include "socketClient.hpp"
|
||
|
|
||
|
class InetSocketClient : public SocketClient
|
||
|
{
|
||
|
public:
|
||
|
|
||
|
InetSocketClient( const std::string host,
|
||
|
const int port );
|
||
|
|
||
|
~InetSocketClient();
|
||
|
|
||
|
|
||
|
private:
|
||
|
|
||
|
bool connectToPeer(void);
|
||
|
|
||
|
std::string m_host;
|
||
|
int m_port;
|
||
|
struct sockaddr_in m_serverAddr;
|
||
|
|
||
|
};
|
||
|
|
||
|
|
||
|
#endif // INET_SOCKET_CLIENT_HPP
|