Home  >  Q&A  >  body text

Java - Principle of automatically detecting devices in LAN

There is an existing device with a network interface. After it is plugged into the router of the LAN, if the default configured IP and gateway of the device are not in the same network segment as the current network, the device can be scanned and discovered through the tools provided by the manufacturer, and Configure the device;
The current problem is that the device should not be accessible through the network without configuring the IP and gateway; how do they achieve the detection of the device, and what is the principle?

PHPzPHPz2713 days ago732

reply all(2)I'll reply

  • PHP中文网

    PHP中文网2017-05-17 10:03:07

    You don’t need to be assigned an IP when you first discover the network

    reply
    0
  • PHPz

    PHPz2017-05-17 10:03:07

    I asked the manufacturer and they used UDP broadcast

    reply
    0
  • Cancelreply