Click here to Skip to main content
15,072,311 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
A manufacturer of energy controllers, for example, that are integrated into the LAN can find its devices via its own software. This list contains only its own devices.

I would like to implement this mechanism in my own devices in order to be able to find them on the network via my own software.

I don't like the idea of monitoring a specific port. Is there a mechanism in the network protocol or something else that can be used?

I want to do this via c++

What I have tried:

I searched the internet, but cant find the right answer. I tried it over the keywords "identify device" "lan" "network"
Posted
Updated 2-Jan-21 7:48am

The most common solution for that is Universal Plug and Play. Simply spoken the search is started by a broadcast message to which all devices are answering and so you find them.

Looks like Portable SDK for UPnP Devices is some good starting point for developing such solution with C++.
   
In addition to the other suggestions: another option would be using the ONVIF protocol[^] although this is mainly aimed at network video products.
   
v2

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)




CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900