RoboidControl-cpp/Windows/WindowsMQTT.h

27 lines
447 B
C++

#pragma once
#if defined(_WIN32) || defined(_WIN64)
#include "Participants/ParticipantMQTT.h"
namespace RoboidControl {
class MQTTParticipant : public MQTTParticipantBase {
public:
MQTTParticipant(const char* ipAddress, int port = 1883);
protected:
void SetupTCP() override;
void SendTCP(int bufferSize) override;
int ReceiveTCP() override;
sockaddr_in remote_addr;
public:
int sock;
};
} // namespace RoboidControl
#endif