bonjour

Redirecting ".local" subdomain to unicast DNS

I regularly access Windows domains that have been set up to use a domain under the .local top level name. This conflicts with Bonjour/Zeroconf which reserves .local for it's own use. A number of platforms support Bonjour out of the box (including Mac OS, iPhone, and Ubuntu) and there's numerous name resolution issues when this confict oc...

What are the best options for NAT port forwarding?

I'd like to make it easy for users to forward a port on their NAT to their local machine for my C++ app. I'd like to make this work on OSX & Windows. Linux would be a great bonus, but Linux users are probably more comfortable forwarding ports manually, so it is less of a concern. LGPL type code is OK, but I can't use anything that is ...

import com.apple.com.dnssd package

I'm trying to compile and run a sample bonjour program apple provides in the BonjourSDK found here: http://developer.apple.com/networking/bonjour/index.html The program is called SimpleChat.java. However, whenever I attempt to compile the program I get this error: "SimpleChat.java:55: package com.apple.dnssd does not exist" I can't for...

Bonjour Networking Help on iPhone WiTap sample

I can follow most of Apple's WiTap sample, but am sort of stumped on this bit in the send method: - (void) send:(const uint8_t)message { if (_outStream && [_outStream hasSpaceAvailable]) if([_outStream write:(const uint8_t *)&message maxLength:sizeof(const uint8_t)] == -1) [self _showAlert:@"Failed sending data to peer"]; } - (voi...

Discover Zeroconf/Bonjour Nodes?

Is there an easy way to scan a given network for Bonjour/Zeroconf services? I have a set of computers (Linux, Windows, Apple) and would like to auto-generate a list of all available Zeroconf-capable, networked nodes in my Intranet. ...

How to route all subdomains to a single host using mDNS?

I have a development webserver hosting as "myhost.local" which is found using Bonjour/mDNS. The server is running avahi-daemon. The webserver also wants to handle any subdomains of itself. Eg "cat.myhost.local" and "dog.myhost.local" and "guppy.myhost.local". Given that myhost.local is on a dynamic ip address from dhcp, is there still...

iPhone: Bonjour NSNetService IP address and port

Excuse my iPhone/Objective-C newbie status please! I've found my HTTP server using NSNetServiceBrowser, but now I just want the IP address and port of the service found. I've got something like the following in my delegate method: NSNetService* server = [serverBrowser.servers objectAtIndex:0]; NSString *name = nil; NSData...

How can an iPhone access another non-iPhone device over wireless or bluetooth?

I'm trying to figure out if an iPhone can connect to another non-iPhone device over wireless or bluetooth and have seen conflicting information. Much of what I've found was before version 3.0 of the SDK came out, when it certainly wasn't possible. Looking at questions like this mention you can't connect to an arbitrary device unless if...

Redistributing apple bonjour on windows... caveats?

I plan to use bonjour for my server-side companion app for a iPhone utility. I plan to request a license grant from apple, but as with any dependency I want to know in advance if exist any caveats on doing that, like: Can exist a good chance of crash or imcopatibilities in installing it (obviously, acording to the manual) when the end...

Objective-C Bonjour/TCP Stack

Hi guys/girls, I was wondering if anyone knows of a combined Objective-C Bonjour/TCP stack out there, that would allow me to forget about managing sockets, broadcasting services etc and instead let me just host a service and/or get a list of existing services and connect to one. Then just continue by sending messages either to specific ...

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

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

Get Device IP with Bonjour

Hi All I am using Java 6 update 14 for development and NetBeans 6.7. I am creating a sample client to detect particular type of service using Bonjour. I face a certain challenge where I want to get the IP address of the device. But the ResolveListener.serviceResolved(...) function, provides only Hostname and Port. The FullName also doe...

What can cause Bonjour to not call me back during browsing?

I have a rather popular Bonjour-based application in App Store. It works perfectly, but around 0.2% of my users report a bizarre bug: "no arrows appear on the edges of the screen, so I can't share stuff with other people!". Needless to say, displaying these arrows is tied to the browsing of a particular Bonjour service on the local domai...

ZeroConf/Bonjour Code that works in Delphi 7 not working in 2009

I have the following declaration for DNSServiceRegister: function DNSServiceRegister ( var sdRef: TDNSServiceRef; const flags: TDNSServiceFlags; const interfaceIndex: uint32_t; const name: PUTF8String; //* may be NULL */ const regType: PUTF8String; const domain: PUTF8String;...

Why does mDNS (Bonjour, Avahi, etc) use UDP?

It seems to me that a lot of the problems with DNS, particularly security problems, have the root cause of DNS being implemented over UDP; for example the responder doesn't have to be who he says he is. I don't know the details of mDNS protocol (which I assume is much newer than DNS), maybe it takes care of these problems in its applica...

How to get the list of all announced bonjour services on all available domains?

It's not the problem to look in all domains, but I can't find the right way to look for any service on the network. ...

Bonjour in Ruby

I'm aware of dnssd, being a Ruby library for Apple's Bonjour protocol for network discovery for Mac OS X only, but is there a (relatively recent/complete) library that is cross platform? ...

Client-to-client messaging in cocoa?

Hi, erm, now I trying to do a messaging between both client instead of client to server. So if I'm not wrong we can't startup service individually but how to see whether is setting up individually or both connect to same service? My Code for startup the service: -(void)startService { // Start listening socket NSError *error; ...

How do I build a DNS Query record in Erlang?

I am building a native Bonjour / Zeroconf library and need to build DNS query records to broadcast off to the other machines. I have tried looking thru the Erlang source code but as I am relatively new to Erlang it gets kind of dense down the bowels of all the inet_XXX.erl and .hrl files. I have a listener that works for receiving and pa...

How to send multicast messages and reuse a port in Erlang?

I have gotten a good start on my program, my first REAL Erlang program. I have it listening for messages, reading them and parsing them. I also have it sending them. The one little thing that is bothering me is I can't SEND on Port 5353, I have tried everything. All the other applications on my machine can listen AND send on port 5353, S...