Questions tagged [bonjour]

Bonjour is Apple's implementation of Zeroconf, a service discovery protocol. It can be used to find services on a network and also to publish services to be found by other Zeroconf clients.

578 questions
2
votes
4 answers

Proper way to publish and find services on a LAN using Python

My app opens a TCP socket and waits for data from other users on the network using the same application. At the same time, it can broadcast data to a specified host on the network. Currently, I need to manually enter the IP of the destination host…
egalano
  • 57
  • 1
  • 6
2
votes
3 answers

Adding Bonjour (dns_sd.h) library to Qt in Windows

I've been trying to properly add the open source dns_sd.h library provided by Apple. I am writing a program that uses the BonjourRegistrar class as demonstrated here: link text I've already written my program on the Mac environment and now I am…
sonics876
  • 947
  • 2
  • 13
  • 31
2
votes
1 answer

iOS Bonjour Swift 3 search never stops

I'm using the NetServiceBrowser for search services actived in my current network, but I have a problem. When the services are actived, the service found these correctly and stop the search but in the other case, when no found any services the…
g4s0l1n
  • 114
  • 2
  • 10
2
votes
1 answer

Bonjour service discovery not finding hosts

I am trying to implement the Bonjour NetServiceBrowser in Swift3 in order to discover hosts on my network. When I manually search in the terminal using the following command I will find the hosts. dns-sd -B However, when I try to use the…
TmKVU
  • 2,910
  • 2
  • 16
  • 30
2
votes
2 answers

How to get IP and PORT of a service published by AVAHI in iOS swift?

I am using NSNetServiceBrowser and is able to find service list published by AVAHI in "didFindService" which looks like : Service appeared: local. _https._tcp. TEMP-Mobileyes5-1C497B9ED382 -1 Service appeared: local. _https._tcp.…
Krishna Kumar Thakur
  • 1,456
  • 12
  • 27
2
votes
2 answers

TXT Record from a Wifi Direct Printer

I'm trying to get TXT Records from Wifi Direct Printers nearby. So far, I can discover peers and establish a connection. But no luck with TXT Records. I tried Wifi Direct Service Discovery, and I believe I did everything properly since I compared…
osayilgan
  • 5,873
  • 7
  • 47
  • 68
2
votes
0 answers

Finding Printers with bonjour in iOS

I got some requirement to print PDF files directly from my app to shared Printers on my local network (printers may or may not be airprint enabled). I got to know about bonjour and started working on it. According to Apple we have standard service…
harsha yarabarla
  • 506
  • 4
  • 11
2
votes
0 answers

iOS 10 Reachability reachabilityForLocalWifi

I want to check connection to a local wifi with bonjour using [Reachability reachabilityForLocalWifi] but it is now deprecated in iOS 10. Apple suggested to use [Reachability reachabilityWithAddress:] but it still returns "not reachable" even when…
binsnoel
  • 276
  • 2
  • 17
2
votes
0 answers

Bonjour NSStreamEventHasBytesAvailable event speed (enabled WiFi and Bluetooth both)

I'm develpoing a network app using Bonjour service on iPhone devices. My problem is that NSStreamEventHasBytesAvailable event speed is slow when i enable WiFi and Bluetooth both on my devices. But strangely if i enable only one either WiFi or…
oasisgarden
  • 21
  • 1
  • 4
2
votes
2 answers

NSNetservice did not get netServiceDidPublish delegate call

what I want to do is enable a simple bonjour service on my ipod touch. And after I publish my custom bonjour service, the delegator did not get "netServiceDidPublish:" call. I also check there is not any error message from "netService:(NSNetService…
dokinkon
  • 83
  • 2
  • 8
2
votes
1 answer

GCDAsyncSocket with bonjour Service: does startTLS initiate TLS handshake

I trying to encrypt peer to peer communication using TLS handshake which uses startTLS method of GCDAsyncSocket library. Bonjour services are published by server and client connects to published host name. After the socket connection is established…
Gyanendra
  • 361
  • 2
  • 15
2
votes
0 answers

iOS Bonjour local service discovery

I have an issue in my app where if a client is running my app but does not have wifi enabled, the app does not find my service and returns an "Unknown error" CFNetServiceError code 72000. The client enables wifi, connects, and my app is clueless.…
TealShift
  • 842
  • 5
  • 19
2
votes
2 answers

Bonjour(IPP) vs Jetdirect-Socket Printer

I am trying to use my android phone as a printer. I am using ServerSocket to receive the document to be printed. If I add my phone as IP printer by providing IP address and port and select Generic Postscript Printer, I am able to receive the file…
Zaartha
  • 1,106
  • 9
  • 25
2
votes
0 answers

Does Apple Still Support the Java Interface of Bonjour?

The software I'm working on uses the Java interface of Bonjour on Mac to discover available machines in the local network. Recently, I found that the software had a problem in Bonjour's Java interface on several Mac machines. But other Mac systems…
Web Beagle
  • 21
  • 2
2
votes
1 answer

Mono.Zeroconf service port is always set to 0

I am trying to use Mono.ZeroConf for service discovery. I can discover services normally, but port of every service is always set to 0 instead of actual value. I am using .NET 4, and ZeroConf 0.9.0, here is my code: public MainWindow() { …
Miljac
  • 2,045
  • 4
  • 19
  • 28