Sunday 7 November 2010

Zeroconf APIs

There does not appear to be any way to detect zeroconf-enabled Perforce servers with P4API.

At this time, P4API does not implement zeroconf detection of Perforce servers. However, that functionality is available through third-party packages and APIs.

The following is a list of such packages or APIs for various languages:

C:

http://developer.apple.com/documentation/networking/Reference/DNSService


Java:

http://developer.apple.com/documentation/Java/Reference/DNSServiceDiscov


Python:

http://o2s.csail.mit.edu/download/pybonjour/


Perl:

http://search.cpan.org/~chlige/Net-Bonjour-0.96/lib/Net/Bonjour.pm


Cocoa/Carbon:

http://developer.apple.com/documentation/Networking/Conceptual/NSNetServiceProgGuide/Introduction.html


Ruby:

http://rubyforge.org/projects/dnssd/


Linux C:

http://avahi.org/


Service Discovery Homepage: 

http://www.dns-sd.org/


View the original article here

No comments:

Post a Comment