Add port to scanning devices
This commit is contained in:
@@ -25,6 +25,8 @@ namespace ANSCENTER {
|
||||
std::string ip; // IPv4 address (dotted-decimal)
|
||||
std::string name; // Device name from UDP probe, empty if HTTP-only
|
||||
std::string firmware; // Version string ("-" if device did not report one)
|
||||
int port{ 0 }; // TCP port the device's HTTP API answers on
|
||||
// (AIBOX = 80, ANSVIS = 22211). 0 = unknown.
|
||||
int source{ 0 }; // 1 = multicast, 2 = HTTP sweep, 3 = both
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user