upnp

UPnP

匿名 (未验证) 提交于 2019-12-02 23:38:02
介绍 什么是UPnP1技术? UPnP技术定义了一种用于普遍的对等网络连接的体系结构 各种外形的智能家电,无线设备和个人电脑。它旨在带来 易于使用,灵活,基于标准的连接到ad-hoc或非托管网络,无论是 在家里,在小型企业,公共场所,或附加到互联网。 UPnP技术 提供利用TCP / IP和Web的分布式开放式网络架构 除控制和数据传输外,还可实现无缝邻近网络的技术 在联网设备中。 UPnP设备架构(UDA)不仅仅是插件的简单扩展 玩外围模型。它旨在支持零配置,“隐形”网络,以及 自动发现来自各种供应商的广泛设备类别。这个 表示设备可以动态加入网络,获取IP地址,传达其功能, 并了解其他设备的存在和功能。最后,设备可以留下一个 网络平稳自动,不会留下任何不需要的状态。 UPnP架构中利用的技术包括IP等Internet协议, TCP,UDP,HTTP和XML。与互联网一样,合同基于有线协议 声明性的,用XML表示,并通过HTTP进行通信。使用Internet协议是一个 UDA的强大选择,因为它具有跨越不同物理媒体的能力,能够实现 现实世界的多供应商互操作,并实现与互联网和许多的协同作用 家庭和办公室内联网。 UPnP架构已明确设计为 适应这些环境。此外,通过桥接,UDA适应媒体运行 当成本,技术或传统阻止附加的媒体或设备时,非IP协议 它来自运行IP。 UPnP技术的“普遍性

Creating a DLNA server/service in VB.NET [closed]

杀马特。学长 韩版系。学妹 提交于 2019-12-02 22:14:45
I would like to create a DLNA server in VB.NET. Since a lot of multimedia devices start supporting DLNA, i would like to see what is possible. Not only streaming video/audio and pictures but see what else can be done. Anybody any starting points? protocol info, some basic code to get started? DLNA is based on UPnP so i geuss that is the direction i have to start looking. UPnP MediaServer using Intels SDK for Windows Home Server and Xbox 360 is written in C# and does not have all the functionallity required but it is a start. I'd like to see an open source implementation of DLNA in .NET You

Can't add a static port mapping in my c# application

梦想的初衷 提交于 2019-12-01 16:28:36
I'm trying to add new static port mapping in my c# application. Because my application runs as a server and i want its to listen on the port 8000. NATUPNPLib.UPnPNATClass upnpnat = new NATUPNPLib.UPnPNATClass(); NATUPNPLib.IStaticPortMappingCollection mappings = upnpnat.StaticPortMappingCollection; mappings.Add(8000, "TCP", 8000, "192.168.1.100", true, "Local Web Server"); but it doesn't work!, The exception was the following : Object reference not set to an instance of an object. Does anyone can help me please? This is what i'm doing : http://pietschsoft.com/post/2009/02/05/NET-Framework

Can't add a static port mapping in my c# application

江枫思渺然 提交于 2019-12-01 16:02:11
问题 I'm trying to add new static port mapping in my c# application. Because my application runs as a server and i want its to listen on the port 8000. NATUPNPLib.UPnPNATClass upnpnat = new NATUPNPLib.UPnPNATClass(); NATUPNPLib.IStaticPortMappingCollection mappings = upnpnat.StaticPortMappingCollection; mappings.Add(8000, "TCP", 8000, "192.168.1.100", true, "Local Web Server"); but it doesn't work!, The exception was the following : Object reference not set to an instance of an object. Does anyone

Having trouble with Scala's “repsep” as seen in parser combinators

久未见 提交于 2019-12-01 11:02:38
Please help! I am trying to build a parser to parse SSDP messages as defined in the UPnP protocol . (see "Discovery" section) Basically it's a header of HTTP OK, followed by name: value pairs, and finally a blank line. After roughly 5000 combinations, this is the one that I most think "should" work: * class SsdpParser() extends JavaTokenParsers { def fulldoc: Parser[SsdpMessage] = header ~ nameValuePairs <~ "\r\n" ^^ { case header ~ values => SsdpMessage(header, values) } def nameValuePairs:Parser[List[(String, String)]] = repsep(nameValuePair, "\r\n") def nameValuePair:Parser[(String, String)

UPnP Library for .Net [closed]

偶尔善良 提交于 2019-11-30 14:11:07
问题 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 5 years ago . I'm trying to play around with UPnP. Specifically, I'm trying to browse the content library of a PS3 Media Server. I tried upnp.dll (a COM library that ships with windows) and found it easy to use. I can discover devices and look at their services pretty easily, however it throws an exception when trying to

UPnP library for Java [closed]

蹲街弑〆低调 提交于 2019-11-30 12:58:49
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 7 years ago . Is there a library for implementing service discovery and publishing via UPnP? (I am trying to find some alternatives to JmDNS that

UPnP Library for .Net [closed]

北战南征 提交于 2019-11-30 09:52:29
I'm trying to play around with UPnP. Specifically, I'm trying to browse the content library of a PS3 Media Server . I tried upnp.dll (a COM library that ships with windows) and found it easy to use. I can discover devices and look at their services pretty easily, however it throws an exception when trying to access the services of the media server (other devices, like my router and windows media player, work fine). A bit of searching around the net revealed that upnp.dll is not well implemented and other people have the same problem and found no solutions. So I've looked for an alternative and

UPnP library for Java [closed]

删除回忆录丶 提交于 2019-11-30 04:54:32
Is there a library for implementing service discovery and publishing via UPnP? (I am trying to find some alternatives to JmDNS that while protocol-wise worked fine for our purposes, was highly unstable as a library, having an unacceptably bad tendency for deadlocking itself.) http://4thline.org/projects/cling/ Open Source DLNA/UPnP stack, libraries, and tools for Java and Android developers You could also try ohNet which includes Java bindings and control point / device stacks under a BSD license. (Disclaimer: I have contributed to this project) 来源: https://stackoverflow.com/questions/3229665

Python: Open a Listening Port Behind a Router (upnp?)

自古美人都是妖i 提交于 2019-11-30 02:04:55
I've developed an application that is essentially just a little ftp server with the ability to specify which directory you wish to share on startup. I'm using ftplib for the server because it's sick easy. The only issue I'm having is that if you are behind a router you have to manually forward the ports on your router and I'm finding that it's a little too complicated for my users (aka co-workers/clients). So I've been looking for a simple solution to open ports but I'm finding that most APIs are too broad and way over my head. Does someone know of a solution that would be relatively simple to