Search code examples
securityvb6lan

software detecting each other in lan


I have just developed a software in vb6, and almost ready for deployment, I need one feature.

As a way of curbing multiple installation in a network, i want the software to detect if another copy is installed within the same subnet, or lan network or all subnet belonging to one network.

Can you give me ideas on how to implement this feature?

i know i might probably use winsock for the network stuff, but how?


Solution

  • You can use IPv4 broadcasting or IPv6 multicasting to send a packet to a group (being all) of computers on the same subnet.