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
2
votes
1 answer

Listen to UPnP Broadcast with UdpClient

Just trying to receive a UPnP broadcast from a device in my local network. I did find a lot of similar questions and tried a bunch of suggestions, none of theme where successful. I do see the UDP packets with Wireshark, so they are actually received…
Stijn Van Antwerpen
  • 1,840
  • 17
  • 42
2
votes
1 answer

Simple multiplayer game network without dedicated servers or requiring players to forward ports manually (No UPnP)

I'm trying to figure out how to make a simple multiplayer game where players don't have to worry about port forwarding and can connect directly to each other without a dedicated server in-between. Manual port forwarding is a hassle for less…
Carson
  • 21
  • 3
2
votes
1 answer

How to listen continuosly SSDP response after sending M-SEARCH

I would like to search Sat>IP servers on the network. Sat>IP servers advertise their presence to other Sat>IP servers and clients. I must not continuosly send M-SEARCH messages but that instead it listens to server NOTIFY messages. After initalizing…
2
votes
0 answers

Libupnp for iOS - Armv7, Arm64

I have problem to commpile libupnp for iOS. Commpilation for i386 and x86_64 works very good. configre can not be passed for armv7, arm64. inttypes.h is missing for iPhoneOS. Can anybody help me out ? Configure LOG: ./build-libupnp.sh Using…
Paul
  • 21
  • 2
2
votes
0 answers

UPnP devices fail to respond to broadcast

I've got a small program that detects UPnP devices by sending out a broadcast as shown in the code below. On most computers, this will cause UPnP devices to reply back with information about the device. However, I've seen this fail on 10% of the…
bugfixr
  • 7,997
  • 18
  • 91
  • 144
2
votes
1 answer

Android studio: connect Android emulator to private network

I'm new to Android development and I hope you can help me out. I use android studio in Linux to develop an UPnP application. On my PC, there are 2 networks, 1 connects to internet by eth0 and another connects to a private network by eth1. When I…
2
votes
0 answers

Win8: DatagramSocket.send to multicast addr silently failes

I am trying to write a very simple SSDP discovery routine for a certain UPnP-enabled TV. Here is a stripped-down version of my code: private void discover() { String header = "M-SEARCH * HTTP/1.1"; String[][] fields = new String[][] { …
2
votes
1 answer

Trouble running UPNP on Docker

I trying to run an UPnP service on my docker container using the Cling UPNP library (http://4thline.org/projects/cling/). There is a simple program that creates a device (in software) that hosts some service. This is written in Java and when I try…
2
votes
1 answer

SSDP for device discovery

I am developing a hardware device that should be automatically discovered in Windows, so I prefer to do it through SSDP instead of mDNS (Zeroconf, etc.) to avoid to force users to install its support applications. I just need that the device…
2
votes
0 answers

Android Cling streaming local audio files to Renderer

I am writing an app that allows streaming of Media from the Phone to a Media Renderer. I am using Cling for the UPNP integration and now I am starting to get abit confused. If I want to stream the Music from my Phone do I have to write both a…
b-m-f
  • 1,278
  • 2
  • 13
  • 29
2
votes
1 answer

Cling UPnP library for Android. Not seeing devices after shutdown and restart

I am using the cling library for android to locate and control other mobile devices in my WiFi network. I have downloaded and imported (in Eclipse) the Cling Browser and Cling Switch Power Examples and they work fine until I exit the Switch power…
dzografi
  • 31
  • 7
2
votes
0 answers

Creating an iOS UPnP App

I'm working on an app that needs to be able to stream videos, music and photos to other devices such as chromecast, games consoles etc.. over wifi. I have looked around and found libraries that support this but are not much help in terms of…
user3001526
  • 81
  • 2
  • 12
2
votes
0 answers

upnp:rootdevice vs. pnp:rootdevice and Windows Explorer

I have been working on some SSDP code to publish and discover devices. I notice that Windows Explorer (under Windows 8 go to 'Network' node in folders list, right click and choose refresh) explicitly searches for "pnp:rootdevice". I cannot find this…
Yort
  • 787
  • 8
  • 22
2
votes
1 answer

how to use libminiupnpc to setup port forwarding

I'd like to use libminiupnpc (github) to find devices and do TCP port forwarding/mapping. However, I cannot find a single decent document or example code that shows how to use the miniupnpc API. Anyone know of a good document or example code that…
Stéphane
  • 19,459
  • 24
  • 95
  • 136
2
votes
1 answer

Discover devices mono.upnp

I'm trying to communicate with my new wemo switch over upnp. On windows this works just fine. Now I'm trying to do the same on android using the mono.upnp lib. Everything looks the same but I cant figuer out how to discover devices on mono.upnp.…
Florian Schaal
  • 2,586
  • 3
  • 39
  • 59