Is there a way to query a ssdp server using java? I want to send this request using java and then receive the response back from the server and display it. I googled alot but can't find anything on this.
I could not find any solution so I developed my own (javadoc). Maven repository and coordinates:
<repository>
<id>repo.hcf.dev-RELEASE</id>
<name>hcf.dev RELEASE Repository</name>
<url>https://repo.hcf.dev/maven/release/</url>
<layout>default</layout>
</repository>
<dependency>
<groupId>ball</groupId>
<artifactId>ball-upnp</artifactId>
<version>3.0.2.20210415</version>
</dependency>
Take a look at (or simply run) the SSDPTask.Discover Ant Task.