20 lines
419 B
C++
20 lines
419 B
C++
#ifndef NETWORK_BROADCASTCLIENTIMPL_H
|
|
#define NETWORK_BROADCASTCLIENTIMPL_H
|
|
|
|
#include <functional>
|
|
#include <string>
|
|
#include "UdpClientImpl.h"
|
|
|
|
|
|
namespace Network {
|
|
|
|
class BroadcastClientImpl : public UdpClientImpl
|
|
{
|
|
public:
|
|
BroadcastClientImpl(const std::string& listenAddress, int broadcastPort, std::function<void(const std::string&)> callback);
|
|
};
|
|
|
|
} // namespace Network
|
|
|
|
#endif // NETWORK_BROADCASTCLIENTIMPL_H
|