Simple Service Discovery Protocol (SSDP) is a protocol for advertizing and discovering services on the network. It is mainly used in Universal Plug and Play (UPnP).
Questions tagged [ssdp]
112 questions
1
vote
0 answers
How can I send SSDP traffic to network from a docker container?
I am trying to use SSDP to discover Onvif cameras on my local network. I have code that works simply on my workstation and it also works in a container using the host network. I don't want to use the host network (I need to connect with other…

macbutch
- 3,241
- 2
- 27
- 27
1
vote
2 answers
SSDP M-search does not work for unicast - single IP
SSDP M-search request for discovery works great for multicast address 239.255.255.250. However, I have a requirement to send this request to a specific IP. It does not work. As per the UPnP architecture document unicast discover message is…

samiksc
- 167
- 10
1
vote
1 answer
Proper way to connect to IOT devices (UDP or ICMP)
What is the proper way to connect an app to a device? At the moment, I have a raspberry pi 3 that controls something about electricity and an iPhone app I created. Every time the app goes to foreground, it sends a UDP broadcast message, when the app…

Ricardo
- 2,831
- 4
- 29
- 42
1
vote
0 answers
uPNP / ssdp Discovery with IPv6
I try get a uPNP / ssdp Discovery working on IPv6
The IPv4 discovery works fine:
uUDP_IP = u'239.255.255.250'
iUDP_PORT = 1900
uMessage = u'M-SEARCH * HTTP/1.1\r\nHOST: %s:%d\r\nMAN: "ssdp:discover"\r\nMX: 5\r\nST:…

Carsten Thielepape
- 144
- 1
- 5
1
vote
1 answer
netcat port 1900 returns no response
So I'm trying to get a response from a server that has udp port 1900 open.
This is the command im entering and the data im sending it:
root$ nc -uvv 1900
M-SEARCH *…

RandomUser
- 77
- 6
1
vote
1 answer
Android multicast Address already in use
I have a simple SSDP search, but sometimes I get a Address in Use error
public void search(String service, CallbackContext callbackContext) throws IOException {
final int SSDP_PORT = 1900;
final int SSDP_SEARCH_PORT = 1901;
final String…

arjun
- 1,594
- 16
- 33
1
vote
0 answers
OSError: [Errno 49] Can't assign requested address
I am trying to connect a BCG sensor (Murata Sensor) to a wifi network and get data from it. I have configured the sensor in suppose a wifi named "Wifi1" and then I am trying to access the data from the sensor on my Mac which is also connected on…

Kathan Vyas
- 355
- 3
- 16
1
vote
1 answer
Qt: SSDP with QUdpSocket works on rare occasions
This one has been driving me crazy for a while. Since I have never done any network related code, I am unable to conclude the results of this experiment.
I am provided with information about a server that broadcasts relevant information using SSDP.…

AAS.N
- 183
- 1
- 18
1
vote
2 answers
Error EADDRNOTAVAIL on socket.send() in node (SSDP protocol)
I'm trying to implement a UPnP discovery service tool (SSDP protocol), I did something similar in python following this post: https://www.electricmonk.nl/log/2016/07/05/exploring-upnp-with-python/ and I would like to port it to node (v. 8.6.0) and…

Roberto
- 8,586
- 3
- 42
- 53
1
vote
1 answer
Unable to show all UPnP devices within the local network C++
I am new to UPnP development and trying to discover all UPnP device within the local network, and I followed an example from the online resource, but my code will only keep looping at the first response. How could I get another response other than…

holopekochan
- 595
- 2
- 10
- 18
1
vote
0 answers
Discovering a Belkin Wemo switch in C# using UdpClient and JoinMulticastGroup
I am trying to discover a Belkin Wemo switch using C#. I am sending SSDP over the network to get back a response from the switch.
The following snippet creates a socket, sends SSDP and waits for 2 seconds to receive an answer. If nothing is read, it…

Numid
- 514
- 1
- 5
- 14
1
vote
1 answer
UPNP M-SEARCH response does not yield a HTTP GET request. Why?
I am trying to create a MediaServer UPNP program in order to stream video from my phones camera to my PC.
I used Intel device spy to send an M-SEARCH request and used Wireshark to capture the network packets.
Here is the M-SEARCH packet
(Src:…

Elad Golan
- 31
- 7
1
vote
0 answers
how to know if Wemo Lights are plugged?
How do I find devices that have been paired with the bridge but are currently powered off?
For example if you unplug a bulb you still receive the info from the bridge as it were available using the following…

Fran Rios
- 821
- 9
- 20
1
vote
2 answers
Using SSDP to display all devices in network
I have googled this question quite often but am still a little confused as to whether what exactly I'm trying to do is possible or not.
Basically, I am trying to add a dropdown menu to my web application in which it lists all devices connected to…

trynacode
- 361
- 1
- 8
- 18
1
vote
1 answer
Permanent Listener to SSDP UDP Broadcasts
I've implemented the sample code given in this thread. It works a treat as promised. Unfortunately, it will only report back the direct responses to the M-SEARCH request, but nothing else. I'm looking for a way to just listen to the SSDP broadcasts,…

Carsten
- 45
- 8