bonjour

Bonjour in the Background?

老子叫甜甜 提交于 2019-12-06 07:19:58
问题 I noticed that Pasteboard, a clipboard app for iOS, can run Bonjour service in the background. I've no idea how they implement that, so I searched on the Internet and then found that it plays a silent sound file when in background. But it is not true now, because I can't see the app icon on the iPod management screen. How could they do that? Any ideas? Thank you in advance. Kai. 回答1: You could, in theory, mark your application as needing to run in the background continuously (for VoIP, or

Client-to-client messaging in cocoa?

做~自己de王妃 提交于 2019-12-06 06:20:45
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; self.listeningSocket = [[[AsyncSocket alloc]initWithDelegate:self] autorelease]; if ( ![self.listeningSocket acceptOnPort:0 error:&error] ) { NSLog(@"Failed to create listening socket"); return; } // Advertise service with bonjour NSString *serviceName = [NSString

How to publish file server service to local network?

依然范特西╮ 提交于 2019-12-06 06:09:56
问题 My question is about "automatic discovery of file server service on local network". I want to implement a service which is file server basically and publish it on local network. Client PC which is connected to local network should find this service automatically and map (mount) network drive without user's intervention. As I look through web shortly, I think "Bonjour" for Apple and "UPnP" for Windows is best option to implement this kind of feature. Is this right assumption? Do you know any

How does Bonjour Over Bluetooth Work

假如想象 提交于 2019-12-06 05:13:47
问题 Can anyone explain how bonjour works over bluetooth from iphone OS 3.0 onwards? The documentation says the Bonjour API's used in the application just works even if Wi-fi is off and Bluetooth is on. It also says , a Bluetooth PAN is established and hence IP address comes into picture. But Bonjour (based on mdns) requires multicast to work. But , Bluetooth PAN (piconet) works on a master-Slave concept. Any data to be exchanged between peers has to go to the master first and then the master

Java error Native Library already loaded in another classloader

孤街醉人 提交于 2019-12-06 01:53:32
I'm using the java bonjour library (dns_sd.jar) in a web application running in Jboss web server. When I start the server a Servlet finds every resource on the network with bonjour and returns to the user. The first time everything runs great but when I redeploy the web app I get: java.lang.UnsatisfiedLinkError: Native Library C:\Windows\System32\jdns_sd.dll already loaded in another classloader I already tried deletting the .dll and the samething happens. Why does it even refer the .dll if I have the .jar lib in my web app? Does anyone have any idea on how to fix this? you do undeploy before

Is there a Bonjour SDK for Windows?

蓝咒 提交于 2019-12-05 20:25:57
问题 I want to know how to implement bonjour on windows, so that i can set up server on windows and access files in windows(server) using bonjour service from my iphone(client). Can anyone tell me whether we have any java api for windows or any bonjour sdk for windows? Thanks in advance.. 回答1: Have a look at Apple's bonjour SDK page. They provide an SDK for Windows there. I think it's written in C. 回答2: This page describes how to develop for Bonjour for Windows. It also gives a link to the

After upgrading to Xcode 6.3, on launch I now get the error: “The Bonjour service could not be resolved.” [closed]

醉酒当歌 提交于 2019-12-05 11:32:44
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 4 years ago . After upgrading to Xcode 6.3, I now get an alert panel with the error: The Bonjour service could not be resolved. The server may be temporarily unavailable. Contact your system administrator. How can I fix this? 回答1: Either delete or move out the file ~/Library/Application Support/Xcode/XCSServiceManager

Apple's Bonjour SDK for Windows

隐身守侯 提交于 2019-12-05 01:10:11
问题 I am planning to use Apple's Bonjour SDK for Windows in a small .NET application using C#. This little application will use Bonjour for network discovery. Currently, I am testing the "Simple Chat Bonjour" sample application that came with Apple's SDK. After I published that sample, I tried to run the setup on another machine it said Bonjour service is not available. I checked my original development machine, it had Boujour service installed and started. And if I stop the service, the sample

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

心已入冬 提交于 2019-12-04 22:22:07
问题 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, SubEthaEdit, iTunes, iChat. The solution MUST broadcast send on port 5353 and here is why. " If the source UDP port in a received Multicast DNS Query is not

any examples of a server/client iphone app where both the server and clients are iOS devices?

我只是一个虾纸丫 提交于 2019-12-04 19:40:05
I would like to create a server/client application where one iphone is running a server, and all other devices on the same wifi network can connect to the server device and send and receive information. Are there any examples of running a server on a device and letting other devices on the network search for it? I looked into using GameKit, but the 16 person max limit is unfortunate. cocoaasyncsocket seems like a good option, but how do I set up one device as the server, and search for it on other devices? The WiTap sample code may be what you're looking for (or at least a good place to start)