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
385 B

#ifndef LOCAL_SOCKET_CLIENT_HPP
#define LOCAL_SOCKET_CLIENT_HPP
#include "socketClient.hpp"
#include <sys/un.h>
class LocalSocketClient : public SocketClient
{
public:
LocalSocketClient( const std::string sockPath);
~LocalSocketClient();
private:
bool connectToPeer(void);
std::string m_sockPath;
struct sockaddr_un m_remote;
};
#endif // LOCAL_SOCKET_CLIENT_HPP