A simple UPnP library for Java
You can download upnp4j from maven central
under the group dev.omega24
, artifact upnp4j
and version 1.0
.
To open port 25565 with TCP use:
UPnP4J.open(25565, Protocol.TCP);
upnp4j is a continuation of WaifUPnP, which is licensed under LGPL 2.1.