Posted on 1998-12-02
I'm writing an application and don't want a user that bought a single user license to run my application on multiple computers in a LAN.
On a Mac it's "quite easy" to seek for a particular application and serial number on the network in order to check if the same licensed application is already running on another computer.
I would like to have the same kind of feature on my Windows MFC app.
Up to now I found the CSocket class which allows to communicate but it seems the "client" app needs the "server" computer address.
What I need is:
- broadcast my app name and serial number and make this information available all over the LAN, to "anyone"
- check the network for a broadcasting and get any serial number associated with my app name.
How is this possible with Windows (NT/95/98) computer and LAN ?