<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent changes to support-requests</title><link href="https://sourceforge.net/p/jmdns/support-requests/" rel="alternate"/><link href="https://sourceforge.net/p/jmdns/support-requests/feed.atom" rel="self"/><id>https://sourceforge.net/p/jmdns/support-requests/</id><updated>2011-02-17T01:34:22Z</updated><subtitle>Recent changes to support-requests</subtitle><entry><title>JmDNS for Android got NoClassDefFoundError exception</title><link href="https://sourceforge.net/p/jmdns/support-requests/4/" rel="alternate"/><published>2011-02-17T01:34:22Z</published><updated>2011-02-17T01:34:22Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net7a1d37fb5541111475f060943b84fa372f84f803</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Created test app to use JmDNS on mobile device running Android OS.  The exception is thrown at creation of an instance of the class. This indicate the class definition is not found as I understand it. So it looks like there is problem in including the jar in the Eclipse project. I added the jar file as user library. Here is the steps.&lt;/p&gt;
&lt;p&gt;1. Right-click the project in Eclipse and select “Build Path -&amp;gt; Add Libraries…”.&lt;br /&gt;
2. Select User Library from the list and click Next.&lt;br /&gt;
3. Click the “User Libraries…” button.&lt;br /&gt;
4. Click “New…” in the User Libraries dialog.&lt;br /&gt;
5. Give the user library a name and select the System library checkbox and click OK.&lt;br /&gt;
6. Highlight the newly added user library in the list and click the “Add JARs…” button and add the desired jar files.&lt;br /&gt;
7. Click OK on the User Libraries dialog.&lt;br /&gt;
8. Make sure the new user library is checked in the Add Library dialog and …&lt;/p&gt;
&lt;p&gt;Additional information:&lt;/p&gt;
&lt;p&gt;- No problem if I build/run the application as Java application instead of Andriod application. Tried Eclipse both on Mac and Windows got the same error. &lt;br /&gt;
- Got the same error on emulator or on actual mobile device.&lt;br /&gt;
- Tried JmDNS.create() as well as JmDNS.create(hostAddress).&lt;br /&gt;
- Tired 3.2.2 and latest JmDNS 3.4&lt;/p&gt;
&lt;p&gt;Any ideas would be greatly appreciated.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>getServiceInfo does not work reliably</title><link href="https://sourceforge.net/p/jmdns/support-requests/3/" rel="alternate"/><published>2005-02-11T15:29:36Z</published><updated>2005-02-11T15:29:36Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.netc0da365955b142c8a770be453bb15d9010c2f048</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;In my attempt to use JmDNS library, I came across the &lt;br /&gt;
following problem:&lt;/p&gt;
&lt;p&gt;In one process I start a service and register it with &lt;br /&gt;
JmDNS. (where type is "foo." and name is "bar"). This &lt;br /&gt;
works without any problem&lt;/p&gt;
&lt;p&gt;In a second process that starts a while later, I run the &lt;br /&gt;
following code&lt;/p&gt;
&lt;p&gt;JmDNS jmdns = new JmDNS();&lt;br /&gt;
ServiceInfo info = jmdns.getServiceInfo("foo.", "bar");&lt;/p&gt;
&lt;p&gt;I expect to receive a non-null info, but I always get null. &lt;/p&gt;
&lt;p&gt;Investigating the problem, I found that although the &lt;br /&gt;
constructor of JmDNS finishes, the internal state of the &lt;br /&gt;
object does not allow correct operation of &lt;br /&gt;
getServiceInfo. This is because getServiceInfo works &lt;br /&gt;
correctly only when the object's DNSstate &lt;br /&gt;
is "Announced".&lt;/p&gt;
&lt;p&gt;Thus, there is a race condition in this case, and it so &lt;br /&gt;
happens that in the network I am using, the &lt;br /&gt;
getServiceInfo is always called too early.&lt;/p&gt;
&lt;p&gt;Will it not be correct to return from the constructor only &lt;br /&gt;
when the object is in the Announced state?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>IPv6 support?</title><link href="https://sourceforge.net/p/jmdns/support-requests/2/" rel="alternate"/><published>2004-01-16T14:35:49Z</published><updated>2004-01-16T14:35:49Z</updated><author><name>Anonymous</name><uri>https://sourceforge.net/u/userid-None/</uri></author><id>https://sourceforge.net28b47b77934dc05824cd1bb49f838e1d1ec787b4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It seems that this doesn't support IPv6? However both &lt;br /&gt;
Java 1.4 and mDNS drafts support IPv6.&lt;/p&gt;
&lt;p&gt;I would like to use JmDNS in my IPv6-only wireless &lt;br /&gt;
network. When will we see full IPv6 support?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>list method for JmDNS</title><link href="https://sourceforge.net/p/jmdns/support-requests/1/" rel="alternate"/><published>2003-12-31T14:00:07Z</published><updated>2003-12-31T14:00:07Z</updated><author><name>Werner Randelshofer</name><uri>https://sourceforge.net/u/rawcoder/</uri></author><id>https://sourceforge.netba1003bad59b12becd4984344cf0f525af5d10e1</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It would be nice, if JmDNS could list all services with a given &lt;br /&gt;
name. The current implementation requires the registration &lt;br /&gt;
of a ServiceListener. Having a list(String name) method &lt;br /&gt;
would greatly simplify the amount of programming needed &lt;br /&gt;
to do this.&lt;/p&gt;
&lt;p&gt;I am thinking of a method similar to the one of Interface &lt;br /&gt;
java.rmi.registry.Registry:&lt;/p&gt;
&lt;p&gt;Here's how the method signature could look like:&lt;/p&gt;
&lt;p&gt;/**&lt;br /&gt;
* Returns all available service informations of the specified&lt;br /&gt;
* type.&lt;br /&gt;
* &lt;br /&gt;
* @param type full qualified service type, such as &lt;br /&gt;
&amp;lt;code&amp;gt;_http._tcp.local.&amp;lt;/code&amp;gt;.&lt;br /&gt;
* @return An array of service information objects.&lt;br /&gt;
* Returns an empty array if no service informations can be&lt;br /&gt;
* obtained. Never returns null.&lt;br /&gt;
*/&lt;br /&gt;
public ServiceInfo[] list(String type);&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>