zeroconf

PnP-X and automatic installation of network storage to Windows 7

瘦欲@ 提交于 2020-01-06 03:37:24
问题 I tested successfully with Linux by using Avahi(Bonjour) and Netatalk(AFP) to provide network storage to Mac OS X seamlessly (as like Time Capsule). I want to make one another question for Windows 7. As I searched Windows 7 uses PnP-X and UPnP to provide Bonjour like zero configuration experience. What I want to achieve is: Use Samba on Linux to share one folder Publish this shared folder as NAS service by using PnP-X and UPnP If a Windows 7 PC attached to the LAN which have the Linux it will

Phonegap Bonjour/Zeroconf or Websocket IP Discovery from HTML5

别等时光非礼了梦想. 提交于 2020-01-01 12:32:30
问题 I am trying to implement a Phonegap (HTML5) application which connects to a Websocket server (running in an embedded device, also has Bonjour service) to exchange data within home network. I would like to know the best possible way of detecting the server IP using Phonegap. I have explored and found that Titanium and Quickconnect support Bonjour. But I would like to stick to Phonegap for various other reasons. Any alternative way of detecting the server IP within the local network is also

How to find all available services using Android's native Network Service Discovery

倾然丶 夕夏残阳落幕 提交于 2020-01-01 10:14:55
问题 I've read through android documentation on finding specific network services using NSD. Below is my code to discover all the available _http._tcp services. final NsdManager.DiscoveryListener discoveryListener = new NsdManager.DiscoveryListener() { @Override public void onDiscoveryStarted(String s) { Log.i(TAG, "onDiscoveryStarted: " + s); } @Override public void onServiceFound(NsdServiceInfo nsdServiceInfo) { Log.i(TAG, "onServiceFound: " + nsdServiceInfo.toString()); } @Override public void

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

为君一笑 提交于 2019-12-29 07:52:20
问题 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; //* may be NULL */ const host: PUTF8String; //* may be NULL */ const port: uint16_t; const txtLen: uint16_t; const txtRecord: Pointer; //* may be NULL */ const callBack: TDNSServiceRegisterReply; //* may be NULL */ const

Application going into ANR mode

徘徊边缘 提交于 2019-12-23 04:40:26
问题 When the users presses the back button in my application. Here is the scenario: User starts the application - Activity shows up User presses back button User re-starts the application. At this point application just shows a blank screen, none of the buttons(home/back) respond, after some time Force-close dialog comes up. NOTE: If the user presses "Home" and then relaunches the app, this doesn't happen, only if the user presses "Back" and then relaunches it. In my onCreate() I have some

Zeroconf Name resolution

杀马特。学长 韩版系。学妹 提交于 2019-12-21 11:04:18
问题 I am developing a control device with an embedded webserver. The webserver provides a control interface to any web browser that requests it (from Windows browsers, Mac browsers, iPhone android etc). The problem I am having is with a general way of generically knowing how to access the device. i.e. what address to type in the web browser. Fixed IPs are too techie for my users and could go wrong as my device could be plugged into many different Local networks. Using uPnp service discovery

Bonjour Discovery in Javascript? Maybe?

北慕城南 提交于 2019-12-18 12:57:06
问题 So its a longshot, I'll start with that. Is it/could it be possible to discover bonjour advertised HTTP services in javascript alone? Why would this be useful? Imagine a local service looking after some data (eg your current lat/long), the data is exposed via a webservice and advertised by Bonjour Zeroconf. A (remote) website might want to know your current lat/long and rather than having to know you're running MyGPSserverVersion2 the site could use javascript to search the local bonjour for

Where can I find the source code for log4j's ZeroConfSocketHubAppender?

血红的双手。 提交于 2019-12-13 02:38:56
问题 I'm looking for a way to make log4net support zeroconf to publish logs to Apache Chainsaw (see here: Does log4net support zeroconf?). Apparently log4j can already do this using a ZeroConfSocketHubAppender. Where might I be able to view the source for the java ZeroConfSocketHubAppender? I've looked both in the Apache Chainsaw and in the Log4j repositories but was unsuccessful. 回答1: ZeroConf is a log4j 'companion', but ZeroConfSocketHubAppender (and this companion) is no longer necessary due to

Bonjour/Zeroconf in .NET on Win7 x64

落爺英雄遲暮 提交于 2019-12-12 08:56:35
问题 did anyone ever try to publish a netservice via Bonjour on a x64 system? I tried several libraries like Mono.Zeroconf, Deusty (there's some x64-discussion in the comments) and Zeroconf.Codeplex. They're working perfectly as long as I build my application for platform target x86. All I want to do is to publish my service into a LAN on any Win7 machine (x86/x64). Every hint is highly appreciated! Best Regards, Waescher 来源: https://stackoverflow.com/questions/5890280/bonjour-zeroconf-in-net-on

Does log4net support zeroconf?

邮差的信 提交于 2019-12-11 03:28:54
问题 I've recently checked out Apache Chainsaw as a viewer for my log4net logs. One feature that struck me as interesting is zeroconf: http://logging.apache.org/log4j/companions/zeroconf/apidocs/org/apache/log4j/net/ZeroConfSocketHubAppender.html Does log4net support zeroconf for Apache Chainsaw to consume? Is there a log4net zeroconf appender like the Java ZeroConfSocketHubAppender? 回答1: No and no. But I agree, absolutely interesting. 回答2: For those interested in more info on log4j and Chainsaw