upnp

How can I list upnp server/renderer in command line (console mode) on linux?

核能气质少年 提交于 2019-11-30 00:14:57
I want to list my available upnp/dlna renderers on my local network in console mode. I can do that with gupnp but not in console mode gssdp-discover (from gupnp-tools) will list devices and services advertized over SSDP: gssdp-discover -i wlan0 --timeout=3 You can also specify the target (as uuid or a service/device type): gssdp-discover -i wlan0 --timeout=3 --target=urn:schemas-upnp-org:device:MediaRenderer:1 来源: https://stackoverflow.com/questions/18363833/how-can-i-list-upnp-server-renderer-in-command-line-console-mode-on-linux

TCP P2P without server

自古美人都是妖i 提交于 2019-11-29 15:43:06
问题 is it possible to write TCP P2P program without server? When I was googling this question I found something about NAT traversal,UPnP, can I use them somehow? 回答1: Yes you can (where as GrandmasterB points out, each peer has both server and client sockets). However, NATs will cause you pain, as you may already know. If you can't use middleboxes (servers on public IP addresses to which your clients connect (*)) - and you might not want these, because they're rather contrary to the point of P2P

UPnP NAT Traversal for 3G/4G Wireless Data Connection on Android

▼魔方 西西 提交于 2019-11-28 22:10:26
Is there any way to use UPnP for NAT traversal on Android with a 3G/4G connection, and if so, is it carrier dependent? No, for the time being thee is no way to do that, for the simple reason that the mobile carriers don't use residential-class NATs - what they have is "Carrier-Grade NATs" CGN, see here http://en.wikipedia.org/wiki/Carrier-grade_NAT , and these devices have very different port allocation and management mechanisms from the residential gateways. See the Carrier-Grade NAT (CGN) related documents in this collection: http://www.scribd.com/collections/3292450/P2P PS there currently

UPnP Multicast: missing answers from M-SEARCH (Discovery)

爷,独闯天下 提交于 2019-11-28 08:30:33
I created a small program to test UPnP Multicast (Visual C# 2010 Express, running on Windows 7 Professional 64 Bit). I can receive the UPnP NOTIFY Messages from UPnP Devices in my Network. But when i send the M-SEARCH Message, i get no Answers. I have tested the same code on a iOS environment (Monotouch for iOS, running on a iPhone simulator on a Mac). There it runs fine and i get all the search responses from my UPnP devices. I can also see the M-SEARCH message from my windows program. It looks like Windows (or a Firewall?) is hiding the search responses. Any idea? Here is the code:

UPnP NAT Traversal for 3G/4G Wireless Data Connection on Android

本小妞迷上赌 提交于 2019-11-27 14:16:09
问题 Is there any way to use UPnP for NAT traversal on Android with a 3G/4G connection, and if so, is it carrier dependent? 回答1: No, for the time being thee is no way to do that, for the simple reason that the mobile carriers don't use residential-class NATs - what they have is "Carrier-Grade NATs" CGN, see here http://en.wikipedia.org/wiki/Carrier-grade_NAT, and these devices have very different port allocation and management mechanisms from the residential gateways. See the Carrier-Grade NAT

Is there a UPnP Library for .NET (C# or VB.NET)? [closed]

江枫思渺然 提交于 2019-11-26 18:27:58
I'm working on a P2P application, and I need to get it to communicate through NAT Routers / Firewalls using UPnP. However, it doesn't seem that the .NET Framework includes support for UPnP. Is there a UPnP Library for .NET? C# or VB.NET? UPDATE: I have since found the NATUPnP 1.0 Type Library (NATUPNP.DLL) COM Component that is part of Windows (since Windows XP) that allows you to easily setup/maintain Port Forwarding using UPnP. I wrote an article with code samples here: .NET Framework: Communicate through NAT Router via UPnP (Universal Plug and Play) There is a COM library that's easy enough

Is there a UPnP Library for .NET (C# or VB.NET)? [closed]

流过昼夜 提交于 2019-11-26 06:25:06
问题 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 . I\'m working on a P2P application, and I need to get it to communicate through NAT Routers / Firewalls using UPnP. However, it doesn\'t seem that the .NET Framework includes support for UPnP. Is there a UPnP Library for .NET? C# or VB.NET? UPDATE: I have since found the NATUPnP 1.0 Type Library (NATUPNP.DLL) COM