I have few linux boxes with Debian on them and I’m looking for an option to be able to discover them in the network and eventually to be able to configure few basic things on them via an admin app that will be on a Mac.
First thing will be to have a way to use auto discovery on the linux in a console app that will act as a server.
So far on the examples in XOJO there is an app doing that but only for desktop apps so linux and console nothing . I was thinking as well to have a simple interface as well so another option to have a Web App but I guess is same thing in the end.
So Target Platform Linux ; ConsoleApp and/or WebApp
If you only need to find Xojo apps the Auto discovery will of course be enough.[/quote]
Thanks Christian, Is there a sample project where I can do some test and see that it is working ? or could you do a small example ? what I just need from the client desktop app is to send me the machine name and the ip , source code will be great.
Any idea how to properly install. that ? or it depends on any specific library ?
I compiled the Bonjour console and run it and I get this [quote]/opt/SyAdmin# ./SyAdmin
This application does registering a service, browse and lookup this service.
Press control-C to quit.
No Bonjour found!
[quote=384953:@Christian Schmitz]For AutoDiscovery, check the examples coming with Xojo.
For the plugin Classe, please check the example coming with the plugin download.[/quote]
In the [quote]Find computer[/quote] sample, I run it and I have in the list box 4 times the same information, is it possible to check if the info already exists not to publish again and to show one for each ip ?
I have the same box with Apple File Sharing service 4 times.
In [quote] MyAddrInfo[/quote] under [code]Sub ServiceAddrInfo(Flags as integer, InterfaceIndex as integer, ErrorCode as integer, AddressFamily as Integer, IP as string, SockAddr as MemoryBlock, HostName as string, ttl as Integer) Handles ServiceAddrInfo
if not IPs.HasKey(IP) then
// avoid duplicates
dim l as listbox = Window1.List
IPS.Value(IP) = nil