optris::sdk::NetworkProbe
One address to ask "is there a camera here, and which one".
Discovery is a broadcast and a broadcast does not cross a router, so a camera behind one, or on a subnet this host cannot broadcast into, is invisible to EnumerateDevices() however long it waits. Naming the address is the only way to reach it.
Public attributes
address
std::string address
The camera's address, e.g. "10.0.0.99". Required.
serial
std::string serial
Accept only this serial. Empty accepts whatever answers, which is what a user interface that has just been given an address by an operator needs -- it does not know the serial yet.
port
uint16_t port = 0
The UDP port the camera streams to. Zero uses the camera's own.
timeout
std::chrono::milliseconds timeout {3000}
How long to wait for a reply before concluding nothing is there.