Some ZeroConf Questions

Hi there,
I have some questions about ZeroConf in Delphi (Server and Client) :

  • Do I have to install Bonjour on server and Client side if I plan to use it under Windows ?

  • What Engine Should I use that is more robust (zceAuto or another one) ? In this case should I change something on client side ?

  • I would like to restrict by password the zeroConf. I mean something like if Server and client have same password only this server is discovered, the other servers (with same service but different password shouldn’t be discovered). Is there a property that I could use to do this ?

Best regards

Armindo

pls specify what platform you are using (Delphi, .NET, etc)

Just edited before you post :grinning: Delphi for server and client

1 Like

yes, this feature requires Bonjour.

only zceBonjour is supported. for backward compatibility, we didn’t change TROZeroConfEngine enum

you can add AES message envolope with this password to both sides, and when server is detected, just call some custom method . if call was ok, then password is the same and this is valid server

Thanks Evgeny for your reply.

you can add AES message envolope with this password to both sides, and when server is detected, just call some custom method . if call was ok, then password is the same and this is valid server.

Isn’t there a way to pass some properties to an TROZeroConfService in server side and check it in the OnServiceAdded event of the ROZeroConfBrowser ? this would avoid Calling X Time a method (I may have about 15 servers per server Machine).

Best regards

we don’t support usage of custom properties.
I can recommend to create a some cache and put to it invalid servers so you will check them once per session.

Ok. Thanks Evgeny