zeroconf

Can I use Bonjour from command line?

穿精又带淫゛_ 提交于 2019-11-30 03:35:46
Is it possible to use Bonjour from command line? For example if I want to register a service I type something like that: bonjour -register service_name port. And then Bonjour allocate a free IP for my service. Or, for example, if I want to see a list of available services I type something like: bonjour -showServices. And then I get list of all available services with their names, IP addresses and ports. Does something like that exist? I am kind of confused by the available documentation. For example here , in the beginning of the document I see: To register your service, call

Bonjour implementation on Android

こ雲淡風輕ζ 提交于 2019-11-29 20:27:22
I am trying to implement bonjour/zero conf on my android app. I am using jmDns library for searching the all the available devices. Here is the code that I am using for searching the devices in the same network: public class ListDevices extends ListActivity { JmDNS jmdns; JmDNSImpl impl; MulticastLock lock; protected ServiceListener listener; protected ServiceInfo info; public ListView lv; public ArrayList<String> deviceList; public int cancel = 0; public final static String TAG = "ListDevices"; /** Called when the activity is first created. */ @Override public void onCreate(Bundle

Problems compiling avahi into Android NDK project

风流意气都作罢 提交于 2019-11-29 12:38:58
Over the last few days I've been having a difficult time trying to build avahi into a static or shared library for use with an existing Android NDK project. We have a few games in the App and Play stores and my task is to get multiplayer working in the Android versions. Specifically the task involves replacing the Bonjour component so that these games can connect to each other via zeroconf. Research seemed to indicate that avahi is the lib that we're looking for, but at this point I'm open to anything that will work! I'm hoping that someone here can either help me get avahi compiling or

Does lwIP support Zeroconf?

自古美人都是妖i 提交于 2019-11-29 12:19:02
问题 I see that lwIP has some AutoIP (aka IPv4LL, aka RFC 3927) code, but I can't tell if it does anything higher up in the Zeroconf stack, namely mDNS and DNS-SD (with RFC 2782). So, does lwIP support DNS-SD service discovery? If not, would it be easy to port code from a project like Avahi that does (assuming licensing allows it)? 回答1: No, lwIP does not support any part of Zeroconf except AutoIP. I've not looked at Avahi but porting Apples mDNSResponder to lwIP is quite straightforward. There is

Can I use Bonjour from command line?

只谈情不闲聊 提交于 2019-11-29 01:08:47
问题 Is it possible to use Bonjour from command line? For example if I want to register a service I type something like that: bonjour -register service_name port. And then Bonjour allocate a free IP for my service. Or, for example, if I want to see a list of available services I type something like: bonjour -showServices. And then I get list of all available services with their names, IP addresses and ports. Does something like that exist? I am kind of confused by the available documentation. For

Bonjour implementation on Android

人盡茶涼 提交于 2019-11-28 16:29:09
问题 I am trying to implement bonjour/zero conf on my android app. I am using jmDns library for searching the all the available devices. Here is the code that I am using for searching the devices in the same network: public class ListDevices extends ListActivity { JmDNS jmdns; JmDNSImpl impl; MulticastLock lock; protected ServiceListener listener; protected ServiceInfo info; public ListView lv; public ArrayList<String> deviceList; public int cancel = 0; public final static String TAG =

How can I discover zeroconf (Bonjour) services on Android? I'm having trouble with jmDNS

大憨熊 提交于 2019-11-27 06:05:27
I'm working with a Droid / Android 2.0.1 and encountering an issue apparently many people have: I'm unable to discover services using the one pure-Java zeroconf library I know of, jmDNS. (Apple's Bonjour, while it works on Linux and Windows Java, I believe would be harder to port to Android because of reliance on native code.) I can create services, but not discover them. I'm trying to make sense of what's going on. There is an ongoing issue report here; related to multicast and IPv6, but seems to be throwing users of jmDNS, too: http://code.google.com/p/android/issues/detail?id=2323 Any idea

Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?

半腔热情 提交于 2019-11-26 18:33:52
Are there any other Java libraries for bonjour/zeroconf apart from JMDNS? Dougnukem I'm also curious to find the best cross-platform DNS-SD (Zeroconf, Bonjour, DNS self discovery) library exists out there. It does sound like Apple's DNS-SD dnssd.jar is the "official" Java library that requires native library support on Windows, Linux, etc, but works out of the box on Mac OSX. There are other pure Java DNS-SD implementations, but it's unclear if any of them offer a library that is as easy to use or fully tested as DNS-SD (some of the projects appear to be abandoned for 2 years). Official Apple

How can I discover zeroconf (Bonjour) services on Android? I&#39;m having trouble with jmDNS

一笑奈何 提交于 2019-11-26 11:53:36
问题 I\'m working with a Droid / Android 2.0.1 and encountering an issue apparently many people have: I\'m unable to discover services using the one pure-Java zeroconf library I know of, jmDNS. (Apple\'s Bonjour, while it works on Linux and Windows Java, I believe would be harder to port to Android because of reliance on native code.) I can create services, but not discover them. I\'m trying to make sense of what\'s going on. There is an ongoing issue report here; related to multicast and IPv6,

Are there any other Java libraries for bonjour/zeroconf apart from JMDNS?

拈花ヽ惹草 提交于 2019-11-26 06:28:49
问题 Are there any other Java libraries for bonjour/zeroconf apart from JMDNS? 回答1: I'm also curious to find the best cross-platform DNS-SD (Zeroconf, Bonjour, DNS self discovery) library exists out there. It does sound like Apple's DNS-SD dnssd.jar is the "official" Java library that requires native library support on Windows, Linux, etc, but works out of the box on Mac OSX. There are other pure Java DNS-SD implementations, but it's unclear if any of them offer a library that is as easy to use or