Questions tagged [upnp]

Universal Plug and Play (UPnP) is a set of networking protocols that permits networked devices to seamlessly discover each other's presence on the network and establish functional network services for data sharing, communications, and entertainment.

539 questions
11
votes
1 answer

Forward a port via UPnP in Python

I am making a Python application that requires the user to have a port forwarded to his computer in order to communicate with a server or another user. The current implementation works quite great, yet the only thing is that the person who's running…
DaKnOb
  • 577
  • 4
  • 17
11
votes
2 answers

C# 4, COM interop and UPnP: A trying triumvirate

I'm trying to write a bit of code (just for home use) that uses UPnP for NAT traversal, using C# 4 and Microsoft's COM-based NAT traversal API (Hnetcfg.dll). Unfortunately (or perhaps fortunately) the last time I had to do COM interop in .NET was…
10
votes
2 answers

Why DIAL (Discovery and launch) when we have UPnP?

I was browsing through the capability of DIAL, and found out that it is very similar to UPnP, in-fact it uses UPnP protocol for device discovery (SSDP). What dial is offering, actually a subset of UPnP protocol, isn’t it? Can't we use UPnP's SOAP…
Dipankar Dey
  • 101
  • 1
  • 4
9
votes
2 answers

How to guide for creating a uPNP iPhone app?

I want to create an iPhone app that manages a Windows computer via uPNP. The Windows computer will be the device I'm controlling, and the iPhone will be the controller. I've pretty much narrowed it down to uPNP as my solution of choice, with…
zkwentz
  • 1,095
  • 5
  • 22
  • 44
9
votes
1 answer

Get DLNA informations with PHP

I've got a DLNA server on a Raspberry Pi (which works with miniDLNA). I've got another Raspberry Pi with a web server on it (using nGinx). I'd like to get informations about my DLNA server with my PHP code on the web server (scann for DLNA servers,…
Lord Grosse Jeanine
  • 1,111
  • 10
  • 29
9
votes
1 answer

Finding and Android NSD-Service from a non-Android Device

Since Android 4.1 Network service discovery (NSD) is available. However, how would one find an android device that exposes an NSD-Service from a computer or from some other device that does not run android. Building an android app as shown in the…
Lukas Ruge
  • 2,204
  • 3
  • 30
  • 42
8
votes
1 answer

Android Http server and broken pipes

I'm trying to develop an Android UPnP application that has an embedded http server in it, so it can serve media files from the device over lan. The first implementacion of the web server that I used was based on the ElementalHttpServer example from…
darkhie
  • 263
  • 1
  • 15
8
votes
1 answer

Can UPnP Discovery be done from Javascript?

I'm working on a webpage on which I want to discover some UPnP devices, however the client maybe on a different VLAN than the server. So, UPnP discovery needs to happen on the client. Apparently UDP is not possible with Javascript. Does anyone…
anotherdjohnson
  • 303
  • 1
  • 5
  • 13
8
votes
2 answers

How to send SetAVTransportURI using UPnP C#?

I'm trying to send a command to my TV (Sony Bravia KDL-42W800A) to play a video through UPnP. I can discover all UPnP devices on my network using SSDP. Here is a sample response from the TV: HTTP/1.1 200 OK CACHE-CONTROL: max-age=1800 EXT:…
James Fairbairn
  • 116
  • 1
  • 4
8
votes
4 answers

Find Belkin WeMo devices with UPnP.FindByType

I'm trying to create a C# app for controlling WeMo devices. I've followed the code samples and directions given by Bernacules here. The relevant bit of code is pasted below. private void GetAllDevices() { var finder = new UPnPDeviceFinder(); …
Duck Jones
  • 380
  • 1
  • 5
  • 16
8
votes
1 answer

Discovering the router by sending broadcast packet using UPnP doesn't work

I'm trying to implement a simple library that can discover the router through UPnP protocol if the application is running in a NAT environment. I have tried two ways, multi-cast and datagram, for sending the discovery packet to the router, and try…
user1802604
  • 396
  • 3
  • 14
8
votes
3 answers

how to upnp forward ports via two levels of routers

i am using the java sbbi library to forward ports. but my router is conected to another router, so the external ip of the first router is a ip that was given by the second router dhcp. is there a way to forward the ports on the second router as…
Dima
  • 8,586
  • 4
  • 28
  • 57
8
votes
2 answers

UPnP detection delay

I have RaspBMC installed on a Raspberry Pi, XBMC on a Window Laptop, and UPnPlay on my Android device. The Raspberry Pi is always on, and is intended to act as the server for the system. IP Addresses involved: 192.168.0.18: RPi 192.168.0.13:…
scubbo
  • 4,969
  • 7
  • 40
  • 71
7
votes
1 answer

Port Forwarding (NAT UPNP) ERROR

Im trying to set port forwarding using c#, but I keep getting this error in visual studio. Interop type 'NATUPNPLib.UPnPNATClass' cannot be embedded. Use the applicable interface instead. this is the code: NATUPNPLib.UPnPNATClass upnpnat = new…
Igor
  • 1,532
  • 4
  • 23
  • 44
7
votes
3 answers

How to communicate between two Nodes behind NAT?

I have some nodes. Each node belongs to other network. Each node has private IP like 192.168.0.2 and stays behind NAT. Is there any possibility to communicate between Nodes? Actually, I need to transfer files between these independent nodes. I try…
Max
  • 1,803
  • 3
  • 25
  • 39
1
2
3
35 36