vmichalak / ssdp-client Goto Github PK
View Code? Open in Web Editor NEWJava client for SSDP (Simple Service Discovery Protocol)
License: MIT License
Java client for SSDP (Simple Service Discovery Protocol)
License: MIT License
I am messing around with the sonos-controller and I couldn't use the discovery process. This isn't the only project that I have had an issue with my sonos and multicast but the end result is I have to hardcode the IP address to find the speaker.
I came across this post : https://en.community.sonos.com/advanced-setups-229000/detailed-network-information-available-6769448.
If I use broadcast (255.255.255.255) everything works fine. Its probably something with my setup but I was wondering if you would like me to add broadcast to the SSDPClient?
In otder to receive multicast traffic SSDP client shall join multicast group using MulticastSocket
https://docs.oracle.com/javase/7/docs/api/java/net/MulticastSocket.html
Otherwise if UPNP devices will be connected to switch/router that performs IGMP Snooping - you won't receive multicast traffic, because switch/router doesn't know that SSDP client has joined multicast group / want to receive traffic.
Hey, i tried this, by creating new project and importing generated lib, but when i passed null as second parameter to search all devices i got respond that 0 devices were found. I tried to change timeout to 10 seconds but still the same. Is this code still working?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.