zeroconf

How to advertise a Bonjour Service in Visual C++

梦想的初衷 提交于 2019-12-10 13:19:00
问题 I'm trying to figure out if this is even possible, but what's the simplest way of advertising a Bonjour service through Visual C++? 回答1: You can use the DNS Service Discovery client: dns-sd . Windows Bonjour Installer puts it in C:\Windows\system32\dns-sd.exe Its synopsis is: dns-sd -R name type domain port [key=value ...] dns-sd -B type domain dns-sd -L name type domain There isn't any easy way to find indepth Bonjour windows documentation , (and it's a serious shame) but here's the manpage

How do BitTorrents connect with eachother?

回眸只為那壹抹淺笑 提交于 2019-12-07 09:30:41
问题 I was just downloading a new distro of linux using uTorrent, and started to wonder how uTorrent (and other bittorrents) send files to eachother through NAT routers? They obviously use the trackers to get introduced, but how do they pass info to eachother? Is there a whitepaper on this? I couldn't find one :/ Thanks 回答1: Most of the time, they don't. I have a restricted network, and every time I run my torrent program it warns me that some of the ports/functionality required is not available

Universal local network name resolution method without DNS?

只谈情不闲聊 提交于 2019-12-06 09:12:17
问题 I'm writing TCP/IP code for a DHCP enabled network device. Is there a universal way this device can announce its hostname in-the-wild that pretty much all web browsers (on osx/linux/win) can access it by name? (e.g. http://mydevice/index.htm) A solution that allows the end-user to use their "stock" computer without stringent requirements like installing packages such as bonjour for windows, have a dns server on their network, etc. zeroconf/dns-sd doesn't work on windows machines that don't

How do BitTorrents connect with eachother?

◇◆丶佛笑我妖孽 提交于 2019-12-05 12:36:14
I was just downloading a new distro of linux using uTorrent, and started to wonder how uTorrent (and other bittorrents) send files to eachother through NAT routers? They obviously use the trackers to get introduced, but how do they pass info to eachother? Is there a whitepaper on this? I couldn't find one :/ Thanks Most of the time, they don't. I have a restricted network, and every time I run my torrent program it warns me that some of the ports/functionality required is not available to me. If one party has a restricted network and another has an open network, the restricted client will

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

Universal local network name resolution method without DNS?

僤鯓⒐⒋嵵緔 提交于 2019-12-04 17:20:54
I'm writing TCP/IP code for a DHCP enabled network device. Is there a universal way this device can announce its hostname in-the-wild that pretty much all web browsers (on osx/linux/win) can access it by name? (e.g. http://mydevice/index.htm ) A solution that allows the end-user to use their "stock" computer without stringent requirements like installing packages such as bonjour for windows, have a dns server on their network, etc. zeroconf/dns-sd doesn't work on windows machines that don't have bonjour (or similar) service installed and LLMNR doesn't work on osx machines out of the box. If

Bonjour/Zeroconf in .NET on Win7 x64

偶尔善良 提交于 2019-12-04 12:32:34
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-win7-x64

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

北城以北 提交于 2019-12-04 06:31:45
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 onServiceLost(NsdServiceInfo nsdServiceInfo) { Log.i(TAG, "onServiceLost: " + nsdServiceInfo.toString()

Zeroconf Name resolution

╄→гoц情女王★ 提交于 2019-12-04 04:48:20
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 requires software to run on the client for some platforms and isn't as natural as just typing a web address.

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

99封情书 提交于 2019-12-03 13:55:06
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 port 5353, this indicates that the client originating the query is a simple client that does not fully