Hi!

How can I programmatically (e.g. using winsock, c++) get to know the
existence of other PDA:s, servers, printers that are nearby?
The reason for this question is that I need to notified about for ex. the
existence of a server at the same location. Not knowing the name and the IP
of the server (or the existence of it for that matter) makes it very
difficult.

I think a solution would be to broadcast about "my own" existence and
require others to do the same (by sending back information about
themselves). Is this a good solution?

Any kind of help would be appreciated.

Regards
/Ali

NOTE: I need to get hold of similar functionality that is available for IrDa
with (DEVICELIST; EnumDevices)