36 #ifndef RCDISCOVER_DISCOVER 37 #define RCDISCOVER_DISCOVER 88 bool getResponse(std::vector<DeviceInfo> &info,
int timeout_per_socket=1000);
92 std::vector<std::tuple<std::uint8_t, std::uint8_t>>
req_nums_;
std::vector< SocketType > sockets_
Discover()
Initializes a socket ready for broadcasting requests.
std::vector< std::tuple< std::uint8_t, std::uint8_t > > req_nums_
void broadcastRequest()
Broadcasts a discovery command request.
bool getResponse(std::vector< DeviceInfo > &info, int timeout_per_socket=1000)
Returns a discovery response.
Socket implementation for Linux.