From f1e46607ddc0dba6f2cb14263c2ec1fc123a3ac0 Mon Sep 17 00:00:00 2001 From: OHMAE Ryosuke Date: Sun, 25 Mar 2018 11:35:57 +0900 Subject: [PATCH] release 1.7.0 --- README.md | 10 ++++++++-- gradle.properties | 2 +- 2 files changed, 9 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index 158cafe9..51f5eae8 100644 --- a/README.md +++ b/README.md @@ -30,7 +30,6 @@ Therefore, this library restricts the use of such statement. There is no way to make Device. If you need it, please select another library. - Some functions that are not widely used are not implemented. - Multicast eventing - - IPv6 ## Example of use Android App @@ -56,7 +55,7 @@ repositories { } dependencies { - compile 'net.mm2d:mmupnp:1.6.0' + compile 'net.mm2d:mmupnp:1.7.0' } ``` @@ -79,6 +78,13 @@ NetworkInterface ni = NetworkInterface.getByName("eth0"); ControlPoint cp = new ControlPoint(ni); ``` +By default ControlPoint will work with dual stack of IPv4 and IPv6. +If you want to operate with IPv4 only, specify the protocol as follows. + +```java +ControlPoint cp = new ControlPoint(Protocol.IP_V4_ONLY); +``` + ### M-SEARCH Call ControlPoint#search() or ControlPoint#search(String). diff --git a/gradle.properties b/gradle.properties index 8a4213df..21e3dfe8 100644 --- a/gradle.properties +++ b/gradle.properties @@ -1 +1 @@ -versionName=1.6.0 +versionName=1.7.0