Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: service registration
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: service registration



My C is not to great, but I would assume that we could use JNI to call the C code that does it.

How is it done in C?

From: Marc Krochmal <email@hidden>
To: Adam Purkiss <email@hidden>
CC: email@hidden
Subject: Re: service registration
Date: Mon, 8 Nov 2004 09:21:11 -0800

Adam,

On Nov 8, 2004, at 1:49 AM, Adam Purkiss wrote:

Yes I do - the machine name is currently blob but I don't want to change that.

Yes it is windows

I can ping blob.local. but as I have registered via Java as adam.local. I was hoping I would be able to ping adam.local. but I cannot.

The idea is that I can go to any machine, boot up the system and so a local http server and it can be found by using adam.local. instead of the machines real name.

Unfortunately, this isn't currently possible using the Java API. You would need to register an address record that maps "adam.local." to the IP address of blob. In the C API you would use DNSServiceRegisterRecord(), but there isn't any Java equivalent for this yet. We'd like to add this to Java eventually.


Best Regards,

-Marc



_______________________________________________
Do not post admin requests to the list. They will be ignored.
Rendezvous-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden




Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.